diff --git a/group_vars/all.yml b/group_vars/all.yml index e8b806e6..d355ac01 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -1,8 +1,4 @@ --- - ### geerlingguy.munin-node - munin_node_bind_host: "0.0.0.0" - munin_node_bind_port: "4949" - munin_node_allowed_cidrs: [192.168.2.0/24] ### wird in vielen Rollen verwendet empfaenger_mail: michael.grote@posteo.de file_header: | diff --git a/group_vars/proxmox.yml b/group_vars/proxmox.yml index c6be5765..28d3493c 100644 --- a/group_vars/proxmox.yml +++ b/group_vars/proxmox.yml @@ -18,6 +18,10 @@ ### mgrote.apcupsd apcupsd_slave_polltime: 10 #in Sekunden ### geerlingguy.munin-node + ### geerlingguy.munin-node + munin_node_bind_host: "0.0.0.0" + munin_node_bind_port: "4949" + munin_node_allowed_cidrs: [192.168.2.0/24] munin_node_plugins: - name: apc_nis - name: hddtemp_smartctl diff --git a/playbooks/on-off/remove_munin_node.yml b/playbooks/on-off/remove_munin_node.yml index e59746cb..2976910f 100644 --- a/playbooks/on-off/remove_munin_node.yml +++ b/playbooks/on-off/remove_munin_node.yml @@ -1,5 +1,5 @@ --- -- hosts: all +- hosts: all,!proxmox become: yes tasks: @@ -12,3 +12,8 @@ name: - munin-node state: absent + - name: remove folder + become: yes + ansible.builtin.file: + path: /etc/munin + state: absent