Skip to content
Snippets Groups Projects
Commit 7512d080 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Install ntp before uninstalling timesyncd

Without ntp installed, removing timesyncd also removes init
parent 9ef4642f
No related branches found
No related tags found
1 merge request!17Install ntp before uninstalling timesyncd
Pipeline #3111 passed
--- ---
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment