瀏覽代碼

don't execute parted command when no flags are defined

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

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

@@ -28,6 +28,7 @@
-- unit kiB
{{ lookup('template','parted_flags_args.j2') }}
with_items: "{{ hard_disks }}"
when: ( item.partitions | json_query("[].flags") | length ) > 0

- name: sync
command: sync


Loading…
取消
儲存