24 lines
480 B
YAML
24 lines
480 B
YAML
---
|
|
|
|
- name: Put garage plugin configuration
|
|
ansible.builtin.template:
|
|
src: garage.j2
|
|
dest: /etc/munin/plugin-conf.d/garage
|
|
owner: root
|
|
group: root
|
|
mode: '0640'
|
|
|
|
- name: Put garage scripts
|
|
ansible.builtin.copy:
|
|
src: "files/{{ item }}"
|
|
dest: "/etc/munin/plugins/{{ item }}"
|
|
owner: root
|
|
user: root
|
|
mode: '0755'
|
|
notify:
|
|
- Restart munin-node
|
|
loop:
|
|
- garage_bucket_objects
|
|
- garage_bucket_size
|
|
- garage_bucket_unfinished
|