Bugfix: ntp (#53)

Bugfix: ntp

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#53
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
Michael Grote 2021-03-27 10:46:48 +01:00
parent dade293bec
commit ccaa67daca
4 changed files with 16 additions and 4 deletions

View file

@ -4,3 +4,9 @@
name: chrony name: chrony
enabled: yes enabled: yes
state: restarted state: restarted
- name: mask ntp service
become: yes
systemd:
name: ntp
masked: yes

View file

@ -6,12 +6,12 @@
state: stopped state: stopped
masked: yes masked: yes
- name: mask ntp service - name: stop ntp service
become: yes become: yes
systemd: systemd:
name: ntp name: ntp
state: stopped state: stopped
masked: yes notify: mask ntp service
- name: install chrony packages - name: install chrony packages
become: yes become: yes

View file

@ -4,3 +4,9 @@
name: chrony name: chrony
enabled: yes enabled: yes
state: restarted state: restarted
- name: mask ntp service
become: yes
systemd:
name: ntp
masked: yes

View file

@ -6,12 +6,12 @@
state: stopped state: stopped
masked: yes masked: yes
- name: mask ntp service - name: stop ntp service
become: yes become: yes
systemd: systemd:
name: ntp name: ntp
state: stopped state: stopped
masked: yes notify: mask ntp service
- name: install chrony packages - name: install chrony packages
become: yes become: yes