20 lines
446 B
YAML
20 lines
446 B
YAML
- 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"
|