mg
ce709e7918
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#329 Co-authored-by: mg <michael.grote@posteo.de> Co-committed-by: mg <michael.grote@posteo.de>
29 lines
643 B
YAML
29 lines
643 B
YAML
---
|
|
- hosts: all
|
|
tasks:
|
|
# deinstalliere andere ntp-implementationen
|
|
- name: removed chrony/ntp packages
|
|
become: yes
|
|
ansible.builtin.package:
|
|
name:
|
|
- chrony
|
|
- ntp
|
|
state: absent
|
|
|
|
- name: remove chrony config
|
|
become: yes
|
|
ansible.builtin.file:
|
|
dest: /etc/chrony/chrony.conf
|
|
state: absent
|
|
|
|
- name: remove logrotate config
|
|
become: yes
|
|
ansible.builtin.file:
|
|
dest: /etc/logrotate.d/chrony
|
|
state: absent
|
|
|
|
- name: remove chrony driftfile folder
|
|
become: yes
|
|
file:
|
|
state: absent
|
|
path: /var/lib/chrony
|