30 lines
563 B
YAML
30 lines
563 B
YAML
---
|
|
|
|
- name: Ensure some packages are installed
|
|
ansible.builtin.apt:
|
|
name: "{{ item }}"
|
|
state: present
|
|
loop:
|
|
- curl
|
|
- jq
|
|
|
|
- name: Put garage plugin configuration
|
|
ansible.builtin.template:
|
|
src: garage.j2
|
|
dest: /etc/munin/plugin-conf.d/garage
|
|
owner: root
|
|
group: root
|
|
mode: '0640'
|
|
notify:
|
|
- Restart munin-node
|
|
|
|
- name: Put garage scripts
|
|
ansible.builtin.copy:
|
|
src: files/garage_bucket
|
|
dest: /etc/munin/plugins/garage_bucket
|
|
owner: root
|
|
group: root
|
|
mode: '0755'
|
|
notify:
|
|
- Restart munin-node
|