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

21 lines
596 B
YAML

---
- name: "backups : create root backup dataset"
community.general.zfs:
name: "{{ system_backups_snapshots_dataset }}"
state: "present"
extra_zfs_properties:
canmount: "off"
"com.sun:auto-snapshot": "false"
- name: "backups : create services backup dataset"
community.general.zfs:
name: "{{ system_backups_snapshots_root_dataset }}"
state: "present"
- name: "backups : create services data backup dataset"
community.general.zfs:
name: "{{ system_backups_snapshots_data_dataset }}"
state: "present"
extra_zfs_properties:
canmount: "off"