mg
e37d354f2c
ntp-rolle in archiv syntax when richtig typo on+off playbook Doku vars doku server doku firewall server an client aktualisiert playbook server playbook base mit ausnahme server in inventory ntp_server ohne server geht rollen angelegt Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#28 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
18 lines
355 B
YAML
18 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
|