style: linting
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
---
|
||||
|
||||
- name: delete squid plugins
|
||||
shell:
|
||||
cmd: "rm -f /etc/munin/plugins/squid_*"
|
||||
warn: False
|
||||
cmd: "rm -f /etc/munin/plugins/squid_*"
|
||||
warn: false
|
||||
notify:
|
||||
- restart munin-node
|
||||
- restart munin-node
|
||||
|
||||
- name: delete lxc interfaces plugins
|
||||
shell:
|
||||
cmd: "rm -f /etc/munin/plugins/if_*veth* /etc/munin/plugins/if_*fw* /etc/munin/plugins/if_*vmbr*"
|
||||
warn: False
|
||||
cmd: "rm -f /etc/munin/plugins/if_*veth* /etc/munin/plugins/if_*fw* /etc/munin/plugins/if_*vmbr*"
|
||||
warn: false
|
||||
notify:
|
||||
- restart munin-node
|
||||
- restart munin-node
|
||||
|
@@ -1,4 +1,5 @@
|
||||
# For Munin servers
|
||||
---
|
||||
|
||||
- name: deploy mikrotik unitary scripts
|
||||
copy:
|
||||
src: "./files/{{ item.0 }}"
|
||||
|
@@ -1,16 +1,16 @@
|
||||
---
|
||||
# for physical servers
|
||||
- name: install necessary packages for hypervisors
|
||||
package:
|
||||
name: lm-sensors
|
||||
state: present
|
||||
name: lm-sensors
|
||||
state: present
|
||||
|
||||
- name: configure specific munin plugin
|
||||
file:
|
||||
path: "/etc/munin/plugins/sensors_{{ item }}"
|
||||
src: /usr/share/munin/plugins/sensors_
|
||||
state: link
|
||||
path: "/etc/munin/plugins/sensors_{{ item }}"
|
||||
src: /usr/share/munin/plugins/sensors_
|
||||
state: link
|
||||
notify:
|
||||
- restart munin-node
|
||||
- restart munin-node
|
||||
loop:
|
||||
- temp
|
||||
|
||||
- temp
|
||||
|
Reference in New Issue
Block a user