✨: munin zfs capability
This commit is contained in:
@@ -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
|
||||
|
10
roles/munin_client/tasks/zfs.yml
Normal file
10
roles/munin_client/tasks/zfs.yml
Normal 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
|
Reference in New Issue
Block a user