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
# file: localization/tasks/ntpd.yml
 
- name: ensure ntpd is installed
 
apt:
 
name: ntp
 
state: present
 
tags:
 
- ntpd
 
- name: ensure there is no timesyncd running
- name: ensure there is no timesyncd running
service:
service:
name: systemd-timesyncd
name: systemd-timesyncd
@@ -18,13 +25,6 @@
@@ -18,13 +25,6 @@
tags:
tags:
- ntpd
- ntpd
- name: ensure ntpd is installed
apt:
name: ntp
state: present
tags:
- ntpd
- name: ensure ntpd configured
- name: ensure ntpd configured
template:
template:
src: ntp.conf.j2
src: ntp.conf.j2
Loading