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

19 lines
455 B
YAML

---
- name: include user tasks # entfernen
include_tasks: user.yml
- 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: "{{ sanoid_user }}"
group: "{{ sanoid_user_group }}"
mode: 0644