homeserver/roles/mgrote.zfs_sanoid/tasks/main.yml
2022-04-01 18:12:09 +02:00

16 lines
346 B
YAML

---
- name: install packages
become: true
ansible.builtin.package:
name:
- sanoid
state: present
- name: Generate Sanoid Configuration
become: true
ansible.builtin.template:
src: sanoid.conf.j2
dest: /etc/sanoid/sanoid.conf
owner: root
group: root
mode: 0644