base: use a variable to define ntpd server
This commit is contained in:
parent
62f31f519e
commit
48066052ac
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue