base: use a variable to define ntpd server

This commit is contained in:
Jérémy Dubois 2022-07-21 17:27:25 +02:00
parent 62f31f519e
commit 48066052ac
2 changed files with 2 additions and 1 deletions

View file

@ -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: add update-evobackup-canary script
- base: session timeout is configurable - base: session timeout is configurable
- add a update-utils.yml playbook to update scripts - add a update-utils.yml playbook to update scripts
- base: use a variable to define ntpd server
### Changed ### Changed

View file

@ -13,7 +13,7 @@
file: file:
path: /etc/ntpd.conf path: /etc/ntpd.conf
state: absent state: absent
when: ntpd_conf.stdout is not regex("^server ntp.evolix.net$") when: ntpd_conf.stdout is not regex('^server ' + ntpd_servers + '$')
tags: tags:
- ntp - ntp