added check to make sure that the volume group variable exists since the variable is needed for cinder lvm but not netapp
This commit is contained in:
parent
6426d03720
commit
55d3cc09f3
@ -28,5 +28,5 @@
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
with_items: cinder_backends|dictsort
|
with_items: cinder_backends|dictsort
|
||||||
when: cinder_backends is defined and is_metal != true
|
when: cinder_backends is defined and is_metal != true and cinder_backends[item.0]['volume_group'] is defined
|
||||||
delegate_to: "{{ physical_host }}"
|
delegate_to: "{{ physical_host }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user