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

20 lines
568 B
YAML

- name: "create root backup dataset"
community.general.zfs:
name: "{{ services_backups_snapshots_dataset }}"
state: "present"
extra_zfs_properties:
canmount: "off"
"com.sun:auto-snapshot": "false"
- name: "create services backup dataset"
community.general.zfs:
name: "{{ services_backups_snapshots_root_dataset }}"
state: "present"
- name: "create services data backup dataset"
community.general.zfs:
name: "{{ services_backups_snapshots_data_dataset }}"
state: "present"
extra_zfs_properties:
canmount: "off"