Skip to content
Snippets Groups Projects
Commit 02faa09e authored by ynerant's avatar ynerant
Browse files

[ntp-client] Install systemd-timesyncd on Bullseye


Signed-off-by: ynerant's avatarynerant <ynerant@crans.org>
parent 61cf1eb8
No related branches found
No related tags found
1 merge request!214Fix root playbook
......@@ -9,6 +9,18 @@
until: apt_result is succeeded
when: "'ntp_server' not in group_names"
- name: Install systemd-timesyncd (bullseye)
apt:
name: systemd-timesyncd
update_cache: true
install_recommends: false
register: apt_result
retries: 3
until: apt_result is succeeded
when:
- "'ntp_server' not in group_names"
- ansible_distribution_release == "bullseye"
- name: Configure NTP
template:
src: systemd/timesyncd.conf.j2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment