瀏覽代碼

make uuid optional

master
父節點
當前提交
561130c758
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      tasks/main.yml

+ 1
- 1
tasks/main.yml 查看文件

@@ -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…
取消
儲存