2022-10-14 21:32:51 +02:00
|
|
|
- name: Create backup dataset
|
|
|
|
zfs:
|
|
|
|
name: hpool/backup
|
|
|
|
state: present
|
|
|
|
extra_zfs_properties:
|
|
|
|
canmount: "off"
|
|
|
|
"com.sun:auto-snapshot": "false"
|
|
|
|
|
|
|
|
- name: Create service backup dataset
|
|
|
|
zfs:
|
|
|
|
name: hpool/backup/{{ ansible_hostname }}
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Create service data backup dataset
|
|
|
|
zfs:
|
|
|
|
name: hpool/backup/{{ ansible_hostname }}/data
|
|
|
|
state: present
|
|
|
|
extra_zfs_properties:
|
|
|
|
canmount: "off"
|