Fix ntpsec configuration on Debian 12

This commit is contained in:
Joshua Boniface 2024-03-07 13:55:07 -05:00
parent fcb4096f19
commit e8eaf2c058
1 changed files with 10 additions and 0 deletions

View File

@ -546,6 +546,16 @@
- { src: "etc/ntp.conf.j2", dest: "/etc/ntp.conf" }
tags: base-time
- name: add link to ntpsec config on Debian 12+
file:
state: link
src: /etc/ntp.conf
dest: /etc/ntpsec/ntp.conf
when: debian_version|int >= 12
notify:
- restart ntp
tags: base-time
# ssl
- name: ensure haveged is running
service: