ansible-edda/playbooks/roles/services/datasets/backups/user/tasks/main.yml

13 lines
401 B
YAML

---
- name: "{{ services_service_name }} : set variables"
ansible.builtin.import_role:
name: "services/include"
vars_from: "user"
- name: "{{ services_service_name }} : create service backup data dataset"
community.general.zfs:
name: "{{ services_backups_snapshots_data_dataset }}/{{ services_service_user_name }}"
state: "present"
extra_zfs_properties:
canmount: "off"