2023-10-25 22:26:17 +02:00
|
|
|
---
|
|
|
|
- name: remove unwanted plugins
|
|
|
|
ansible.builtin.file:
|
2024-02-15 13:52:00 +01:00
|
|
|
path: "{{ munin_plugin_dest_path }}{{ item }}"
|
2023-10-25 22:26:17 +02:00
|
|
|
state: absent
|
|
|
|
loop: "{{ munin_node_disabled_plugins }}"
|
|
|
|
notify: restart munin-node
|
|
|
|
when: munin_node_disabled_plugins is defined
|
|
|
|
|
|
|
|
- name: remove additional plugin-config
|
|
|
|
ansible.builtin.file:
|
|
|
|
state: absent
|
2024-02-15 13:52:00 +01:00
|
|
|
dest: "{{ munin_plugin_conf_dest_path }}{{ item }}"
|
2023-10-25 22:26:17 +02:00
|
|
|
notify: restart munin-node
|
|
|
|
loop: "{{ munin_node_disabled_plugins }}"
|
|
|
|
when: munin_node_disabled_plugins is defined
|