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

21 lines
598 B
YAML
Raw Normal View History

---
- 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"
2023-09-17 17:09:37 +02:00
- name: "backups : create backup dataset root"
community.general.zfs:
name: "{{ system_backups_snapshots_root_dataset }}"
state: "present"
2023-09-17 17:09:37 +02:00
- name: "backups : create backup dataset for the-nine-worlds"
community.general.zfs:
name: "{{ system_backups_snapshots_data_dataset }}"
state: "present"
extra_zfs_properties:
canmount: "off"