diff options
Diffstat (limited to 'roles/apps/etherpad-lite/tasks')
-rw-r--r-- | roles/apps/etherpad-lite/tasks/main.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/roles/apps/etherpad-lite/tasks/main.yml b/roles/apps/etherpad-lite/tasks/main.yml index 6d4551db..0beeb1e1 100644 --- a/roles/apps/etherpad-lite/tasks/main.yml +++ b/roles/apps/etherpad-lite/tasks/main.yml @@ -6,18 +6,16 @@ zfs: name: "{{ etherpad_lite_zfs.pool }}/{{ etherpad_lite_zfs.name }}" state: present - extra_zfs_properties: - quota: "{{ etherpad_lite_zfs.size }}" + extra_zfs_properties: "{{ etherpad_lite_zfs.properties | default(omit) }}" - name: create zfs volumes for instances loop: "{{ etherpad_lite_instances | dict2items }}" loop_control: - label: "{{ item.key }} ({{ item.value.quota }})" + label: "{{ item.key }} ({{ (item.value.zfs_properties | default({})).items() | map('join', '=') | join(', ') }})" zfs: name: "{{ etherpad_lite_zfs.pool }}/{{ etherpad_lite_zfs.name }}/{{ item.key }}" state: present - extra_zfs_properties: - quota: "{{ item.value.quota }}" + extra_zfs_properties: "{{ item.value.zfs_properties | default(omit) }}" - name: configure etherpad_lite base bath set_fact: |