Fix ntpsec configuration on Debian 12
This commit is contained in:
parent
fcb4096f19
commit
e8eaf2c058
|
@ -546,6 +546,16 @@
|
||||||
- { src: "etc/ntp.conf.j2", dest: "/etc/ntp.conf" }
|
- { src: "etc/ntp.conf.j2", dest: "/etc/ntp.conf" }
|
||||||
tags: base-time
|
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
|
# ssl
|
||||||
- name: ensure haveged is running
|
- name: ensure haveged is running
|
||||||
service:
|
service:
|
||||||
|
|
Loading…
Reference in New Issue