Skip to content
Snippets Groups Projects

Install ntp before uninstalling timesyncd

Merged Robin Sonnabend requested to merge ntp-timesyncd into master
1 file
+ 7
7
Compare changes
  • Side-by-side
  • Inline
---
# file: localization/tasks/ntpd.yml
- name: ensure ntpd is installed
apt:
name: ntp
state: present
tags:
- ntpd
- name: ensure there is no timesyncd running
service:
name: systemd-timesyncd
@@ -18,13 +25,6 @@
tags:
- ntpd
- name: ensure ntpd is installed
apt:
name: ntp
state: present
tags:
- ntpd
- name: ensure ntpd configured
template:
src: ntp.conf.j2
Loading