Commit 43025ba5 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

remove changed, use skip_vg_create instead

parent bab8868f
...@@ -38,14 +38,14 @@ ...@@ -38,14 +38,14 @@
size: "100%FREE" size: "100%FREE"
shrink: "no" shrink: "no"
with_items: "{{ volumes_add }}" with_items: "{{ volumes_add }}"
when: "volume_group.changed | bool" when: "not skip_vg_create | default (false )| bool"
- name: "Creating new filesystems on new volumes" - name: "Creating new filesystems on new volumes"
filesystem: filesystem:
fstype: "{{ item.fs_type }}" fstype: "{{ item.fs_type }}"
dev: "/dev/{{ item.vgname }}/{{ item.lvname }}" dev: "/dev/{{ item.vgname }}/{{ item.lvname }}"
with_items: "{{ volumes_add }}" with_items: "{{ volumes_add }}"
when: "volume_group.changed | bool" when: "not skip_vg_create | default (false) | bool"
- name: "Create mount points" - name: "Create mount points"
file: file:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment