Michael Grote
32fe00c0b6
Reviewed-on: #790 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de> munin: nacharbeiten (#791) Reviewed-on: #791 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de> munin: remove playbook fixed (#792) Reviewed-on: #792 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
22 lines
447 B
YAML
22 lines
447 B
YAML
---
|
|
- hosts: all
|
|
become: yes
|
|
tasks:
|
|
- name: Ensure packages are absent
|
|
become: yes
|
|
ansible.builtin.apt:
|
|
autoremove: yes
|
|
autoclean: yes
|
|
purge: yes
|
|
name:
|
|
- munin-node
|
|
state: absent
|
|
|
|
- name: Ensure directories are absent
|
|
become: yes
|
|
ansible.builtin.file:
|
|
path: "{{ item }}"
|
|
state: absent
|
|
loop:
|
|
- /usr/share/munin
|
|
- /etc/munin
|