blob: 91db0f678c447aa4a338be94948d98bf77e955c0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
---
- name: create base dataset for host
zfs:
name: "{{ zfs_syncoid_target_pool }}/{{ source.key }}"
state: present
extra_zfs_properties:
compression: lz4
xattr: sa
- name: create datasets for path
loop: "{{ source.value.paths | zfs_syncoid_explode_paths | unique }}"
loop_control:
label: "{{ source.key }}/{{ item }}"
zfs:
name: "{{ zfs_syncoid_target_pool }}/{{ source.key }}/{{ item }}"
state: present
|