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

20 lines
568 B
YAML
Raw Normal View History

2022-12-18 01:38:30 +01:00
- name: "create root backup dataset"
community.general.zfs:
2022-12-18 17:06:27 +01:00
name: "{{ services_backups_snapshots_dataset }}"
2022-12-18 01:38:30 +01:00
state: "present"
extra_zfs_properties:
canmount: "off"
"com.sun:auto-snapshot": "false"
- name: "create services backup dataset"
community.general.zfs:
2022-12-18 17:06:27 +01:00
name: "{{ services_backups_snapshots_root_dataset }}"
2022-12-18 01:38:30 +01:00
state: "present"
- name: "create services data backup dataset"
community.general.zfs:
2022-12-18 17:06:27 +01:00
name: "{{ services_backups_snapshots_data_dataset }}"
2022-12-18 01:38:30 +01:00
state: "present"
extra_zfs_properties:
canmount: "off"