diff options
author | Tomas Sedovic <tomas@sedovic.cz> | 2017-11-07 14:34:03 +1100 |
---|---|---|
committer | Tomas Sedovic <tomas@sedovic.cz> | 2017-11-07 14:34:03 +1100 |
commit | 85181ea469ed5f541cbac6f73aefc134526aca8d (patch) | |
tree | 75fc5b7f1ff9002d67dbc8091070c7c6d334f8b9 /playbooks/openstack/openshift-cluster/custom_image_check.yaml | |
parent | 6f4d509817f200ec2a273a097f4f048da5997925 (diff) | |
download | openshift-85181ea469ed5f541cbac6f73aefc134526aca8d.tar.gz openshift-85181ea469ed5f541cbac6f73aefc134526aca8d.tar.bz2 openshift-85181ea469ed5f541cbac6f73aefc134526aca8d.tar.xz openshift-85181ea469ed5f541cbac6f73aefc134526aca8d.zip |
Move the OpenStack playbooks
We move them from `playbooks/provisioning/openstack` to
`playbooks/openstack` to mirror `playbooks/aws`.
Diffstat (limited to 'playbooks/openstack/openshift-cluster/custom_image_check.yaml')
-rw-r--r-- | playbooks/openstack/openshift-cluster/custom_image_check.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/playbooks/openstack/openshift-cluster/custom_image_check.yaml b/playbooks/openstack/openshift-cluster/custom_image_check.yaml new file mode 100644 index 000000000..452e1e4d8 --- /dev/null +++ b/playbooks/openstack/openshift-cluster/custom_image_check.yaml @@ -0,0 +1,9 @@ +--- +- name: Try to get image facts + os_image_facts: + image: "{{ image }}" + register: image_result +- name: Check that custom image is available + assert: + that: "image_result.ansible_facts.openstack_image" + msg: "Image {{ image }} is not available." |