style: linting

This commit is contained in:
VC
2024-07-05 11:53:13 +02:00
parent 66830fd2eb
commit 1f28d2242f
76 changed files with 469 additions and 335 deletions

View File

@@ -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

View File

@@ -1,4 +1,5 @@
# For Munin servers
---
- name: deploy mikrotik unitary scripts
copy:
src: "./files/{{ item.0 }}"

View File

@@ -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