You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: roles/backend_setup/tasks/thin_pool_create.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -232,7 +232,7 @@
232
232
233
233
234
234
- name: Create a LV thinpool
235
-
command: "lvcreate -l {{ item.thinpoolsize | default('100%FREE') }} --options {% if item.raid is defined and item.raid is not none
235
+
command: "lvcreate {% if item.thinpoolsize is defined %} -L {{ item.thinpoolsize }} {% else %} -l 100%FREE {% endif %} --options {% if item.raid is defined and item.raid is not none
236
236
and item.raid.level is defined and item.raid.devices is defined and item.raid.stripe is defined
237
237
and item.raid.level in [0,5,6,10]%}
238
238
{% if item.raid.level == 0 %}
@@ -286,7 +286,7 @@
286
286
#end-block
287
287
288
288
- name: Create a LV thinpool for similar device types
0 commit comments