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

12 lines
397 B
YAML
Raw Normal View History

2022-12-18 01:38:30 +01:00
- name: "{{ services_service_name }} : set variables"
ansible.builtin.import_role:
2022-12-18 19:36:21 +01:00
name: "services/include"
2022-12-18 01:38:30 +01:00
vars_from: "user"
- name: "{{ services_service_name }} : create service backup data dataset"
community.general.zfs:
2022-12-18 17:06:27 +01:00
name: "{{ services_backups_snapshots_data_dataset }}/{{ services_service_user_name }}"
2022-12-18 01:38:30 +01:00
state: "present"
extra_zfs_properties:
canmount: "off"