homeserver/roles/mgrote.zfs_sanoid/tasks/main.yml

20 lines
455 B
YAML
Raw Normal View History

---
2022-04-01 18:06:15 +02:00
- name: include user tasks # entfernen
include_tasks: user.yml
2022-04-01 18:06:15 +02:00
- name: install packages
become: true
ansible.builtin.package:
name:
2022-04-01 18:06:15 +02:00
- 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