Browse Source

make uuid optional

master
parent
commit
561130c758
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tasks/main.yml

+ 1
- 1
tasks/main.yml View File

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


Loading…
Cancel
Save