This commit is contained in:
2025-01-21 16:55:07 +01:00
parent 5c33972021
commit 411812edf2
8 changed files with 256 additions and 3 deletions

View File

@ -37,7 +37,7 @@
- name: (ntp.yml) Backup installation version of file '/etc/ntpsec/ntp.conf'
command: cp -a /etc/ntpsec/ntp.conf /etc/ntpsec/ntp.conf.ORIG
command: cp /etc/ntpsec/ntp.conf /etc/ntpsec/ntp.conf.ORIG
when:
- groups['file_server']|string is search(inventory_hostname)
- etc_ntpsec_conf_ORIG.stat.exists == False