19 lines
455 B
YAML
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
|