Files
ansible/roles/munin_client/tasks/lxc.yml
VC 69c58353c3
All checks were successful
ansible-lint / lint-everything (push) Successful in 1m33s
tamerelol
2025-10-31 15:40:50 +01:00

28 lines
516 B
YAML

---
- name: Delete junks for LXC containers
ansible.builtin.file:
path: "/etc/munin/plugins/{{ item }}"
state: absent
notify:
- Restart munin-node
loop:
- acpi
- cpuspeed
- diskstats
- entropy
- irqstats
- name: Add per process CPU/RAM metrics
ansible.builtin.copy:
src: "files/{{ item }}"
dest: "/etc/munin/plugins/{{ item }}"
mode: "0o755"
owner: root
group: root
notify:
- Restart munin-node
loop:
- cpu_by_process
- memory_by_process