Creating a variable for query cache memory and applying it

This commit is contained in:
VC
2020-01-01 14:40:54 +01:00
parent 4f2bd402d4
commit 397335bd53
6 changed files with 159 additions and 7 deletions

View File

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