homeserver/playbooks/on-off/deinstall_ntp.yml

19 lines
355 B
YAML

---
- hosts: all
tasks:
- name: ntp deinstallieren
become: yes
ansible.builtin.package:
name: ntp
state: absent
- name: config file
become: yes
file:
path: /etc/ntp.conf
state: absent
- name: config folder
become: yes
file:
path: /var/lib/ntp
state: absent