|
@@ -20,7 +20,7 @@ |
|
|
filesystem: |
|
|
filesystem: |
|
|
fstype: "{{ item.fstype }}" |
|
|
fstype: "{{ item.fstype }}" |
|
|
dev: "{{ item.device }}" |
|
|
dev: "{{ item.device }}" |
|
|
opts: -U {{ item.uuid }} |
|
|
|
|
|
|
|
|
opts: "{% if item.uuid is defined %}-U {{ item.uuid }}{% endif %}" |
|
|
force: "{{ filesystems_state == 'formated' }}" |
|
|
force: "{{ filesystems_state == 'formated' }}" |
|
|
with_items: "{{ filesystems }}" |
|
|
with_items: "{{ filesystems }}" |
|
|
when: |
|
|
when: |
|
|