: munin zfs capability

This commit is contained in:
VC
2024-10-27 07:38:52 +01:00
parent 21be1afeac
commit 0a7a075346
3 changed files with 291 additions and 3 deletions

View File

@@ -111,9 +111,9 @@
ansible.builtin.include_tasks: hypervisors.yml
when: "'hypervisors' in group_names"
# - name: Execute specific ZFS commands
# ansible.builtin.include_tasks: zfs.yml
# when: "'zfsservers' in group_names"
- name: Execute specific ZFS commands
ansible.builtin.include_tasks: zfs.yml
when: "'zfsservers' in group_names"
# Specific LXC commands
- name: Execute specific LXC commands

View File

@@ -0,0 +1,10 @@
---
- name: Put zpool_capacity script
ansible.builtin.copy:
src: files/zpool_capacity
dest: /etc/munin/plugins/zpool_capacity
owner: root
group: root
mode: "0o755"
notify:
- Restart munin-node