29 lines
562 B
YAML
29 lines
562 B
YAML
---
|
|
|
|
- name: Ensure some packages are installed
|
|
ansible.builtin.package:
|
|
name:
|
|
- jq
|
|
state: present
|
|
update_cache: true
|
|
|
|
- name: Put restic plugin configuration
|
|
ansible.builtin.template:
|
|
src: restic.j2
|
|
dest: /etc/munin/plugin-conf.d/restic
|
|
owner: root
|
|
group: root
|
|
mode: "0o640"
|
|
notify:
|
|
- Restart munin-node
|
|
|
|
- name: Put restic scripts
|
|
ansible.builtin.copy:
|
|
src: files/restic_backup
|
|
dest: /etc/munin/plugins/restic_backup
|
|
owner: root
|
|
group: root
|
|
mode: "0o755"
|
|
notify:
|
|
- Restart munin-node
|