summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/openshift-cluster/tasks
diff options
context:
space:
mode:
authorLénaïc Huard <lhuard@amadeus.com>2015-06-07 23:08:55 +0200
committerLénaïc Huard <lhuard@amadeus.com>2015-07-03 14:55:38 +0200
commit3c48b582bf63fdf46efb2eb644f3adac313ffd6d (patch)
treef212041aec1e3fb42b0f7932344111997c9f6ea4 /playbooks/libvirt/openshift-cluster/tasks
parent6ae88062163562c8b67090c0522596a2c0c9fd51 (diff)
downloadopenshift-3c48b582bf63fdf46efb2eb644f3adac313ffd6d.tar.gz
openshift-3c48b582bf63fdf46efb2eb644f3adac313ffd6d.tar.bz2
openshift-3c48b582bf63fdf46efb2eb644f3adac313ffd6d.tar.xz
openshift-3c48b582bf63fdf46efb2eb644f3adac313ffd6d.zip
Add a generic mechanism for passing options
And use it in the libvirt and openstack playbooks
Diffstat (limited to 'playbooks/libvirt/openshift-cluster/tasks')
-rw-r--r--playbooks/libvirt/openshift-cluster/tasks/launch_instances.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/playbooks/libvirt/openshift-cluster/tasks/launch_instances.yml b/playbooks/libvirt/openshift-cluster/tasks/launch_instances.yml
index 8291192ab..4cb494056 100644
--- a/playbooks/libvirt/openshift-cluster/tasks/launch_instances.yml
+++ b/playbooks/libvirt/openshift-cluster/tasks/launch_instances.yml
@@ -14,6 +14,7 @@
url: '{{ image_url }}'
sha256sum: '{{ image_sha256 }}'
dest: '{{ os_libvirt_storage_pool_path }}/{{ image_name }}'
+ when: '{{ ( lookup("oo_option", "skip_image_download") | default("no", True) | lower ) in ["false", "no"] }}'
- name: Create the cloud-init config drive path
file: