diff --git a/CHANGELOG b/CHANGELOG index 7b46a32..75b3195 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - base: add update-evobackup-canary script - base: session timeout is configurable - add a update-utils.yml playbook to update scripts +- base: use a variable to define ntpd server ### Changed diff --git a/roles/base/tasks/ntp.yml b/roles/base/tasks/ntp.yml index 6c1ec61..a0f80ff 100644 --- a/roles/base/tasks/ntp.yml +++ b/roles/base/tasks/ntp.yml @@ -13,7 +13,7 @@ file: path: /etc/ntpd.conf state: absent - when: ntpd_conf.stdout is not regex("^server ntp.evolix.net$") + when: ntpd_conf.stdout is not regex('^server ' + ntpd_servers + '$') tags: - ntp