homeserver/playbooks/on-off/remove_munin_node.yml
mg 65f58105b6 Munin für alle "nicht"-Proxmox-Hosts entfernt (#44)
Munin für alle "nicht"-Proxmox-Hosts entfernt

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#44
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-03-19 12:06:40 +01:00

20 lines
367 B
YAML

---
- hosts: all,!proxmox
become: yes
tasks:
- name: remove Packages
become: yes
ansible.builtin.apt:
autoremove: yes
autoclean: yes
purge: yes
name:
- munin-node
state: absent
- name: remove folder
become: yes
ansible.builtin.file:
path: /etc/munin
state: absent