Michael Grote
25696766c5
Reviewed-on: https://git.mgrote.net///mg/homeserver/pulls/177 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
16 lines
529 B
YAML
16 lines
529 B
YAML
---
|
|
- name: Ensure unwanted plugins are absent
|
|
ansible.builtin.file:
|
|
path: "{{ munin_plugin_dest_path }}{{ item }}"
|
|
state: absent
|
|
loop: "{{ munin_node_disabled_plugins }}"
|
|
notify: restart munin-node
|
|
when: munin_node_disabled_plugins is defined
|
|
|
|
- name: Ensure additional plugin-config is absent
|
|
ansible.builtin.file:
|
|
state: absent
|
|
dest: "{{ munin_plugin_conf_dest_path }}{{ item }}"
|
|
notify: restart munin-node
|
|
loop: "{{ munin_node_disabled_plugins }}"
|
|
when: munin_node_disabled_plugins is defined
|