Creating a variable for query cache memory and applying it
This commit is contained in:
@@ -67,14 +67,29 @@
|
||||
- restart munin-node
|
||||
when: munin_need_reconfigure
|
||||
|
||||
## Useless junks for LXC
|
||||
- name: delete diskstats from LXC machines
|
||||
## Useless junks for everyone
|
||||
- name: "delete {{ item }}"
|
||||
file:
|
||||
path: /etc/munin/plugins/diskstats
|
||||
path: "/etc/munin/plugins/{{ item }}"
|
||||
state: absent
|
||||
when: munin_need_reconfigure
|
||||
loop:
|
||||
- uptime
|
||||
- users
|
||||
|
||||
## Useless junks for LXC
|
||||
- name: "delete {{ item }} from LXC machines"
|
||||
file:
|
||||
path: "/etc/munin/plugins/{{ item }}"
|
||||
state: absent
|
||||
notify:
|
||||
- restart munin-node
|
||||
when: ansible_facts['virtualization_type'] == "lxc"
|
||||
loop:
|
||||
- cpuspeed
|
||||
- diskstats
|
||||
- entropy
|
||||
- irqstats
|
||||
|
||||
## Useless junks for hypervisors
|
||||
- name: delete squid plugins
|
||||
|
Reference in New Issue
Block a user