mg
7799f2a4fe
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#202 Co-authored-by: mg <mg@noreply.git.mgrote.net> Co-committed-by: mg <mg@noreply.git.mgrote.net>
16 lines
514 B
YAML
16 lines
514 B
YAML
---
|
|
- name: remove unwanted plugins
|
|
file:
|
|
path: "{{ munin_plugin_dest_path }}{{ item.name }}"
|
|
state: absent
|
|
loop: "{{ munin_node_disabled_plugins }}"
|
|
notify: restart munin-node
|
|
when: munin_node_disabled_plugins is defined
|
|
|
|
- name: remove additional plugin-config
|
|
file:
|
|
state: absent
|
|
dest: "{{ munin_plugin_conf_dest_path }}{{ item.name }}"
|
|
notify: restart munin-node
|
|
loop: "{{ munin_node_disabled_plugins }}"
|
|
when: munin_node_disabled_plugins is defined
|