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
Branches
No related tags found
1 merge request!17Install ntp before uninstalling timesyncd
Pipeline #3111 passed
---
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment