summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-10-26 16:22:52 -0400
committerScott Dodson <sdodson@redhat.com>2017-10-27 13:19:30 -0400
commit2169c2476adfe112428849396b2292a76ecd5305 (patch)
treea8954ee6835a03abc7411a9354d4cc01fb14d0c8 /roles/openshift_examples/tasks
parent34f6e3e2543ab961bcded8cbc7e531a7bbf5b02c (diff)
downloadopenshift-2169c2476adfe112428849396b2292a76ecd5305.tar.gz
openshift-2169c2476adfe112428849396b2292a76ecd5305.tar.bz2
openshift-2169c2476adfe112428849396b2292a76ecd5305.tar.xz
openshift-2169c2476adfe112428849396b2292a76ecd5305.zip
Add centos based dotnet 2.0 image streams
Diffstat (limited to 'roles/openshift_examples/tasks')
-rw-r--r--roles/openshift_examples/tasks/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/openshift_examples/tasks/main.yml b/roles/openshift_examples/tasks/main.yml
index 1a4562776..356317431 100644
--- a/roles/openshift_examples/tasks/main.yml
+++ b/roles/openshift_examples/tasks/main.yml
@@ -63,8 +63,10 @@
- name: Import Centos Image streams
command: >
- {{ openshift.common.client_binary }} {{ openshift_examples_import_command }} --config={{ openshift.common.config_base }}/master/admin.kubeconfig -n openshift -f {{ centos_image_streams }}
+ {{ openshift.common.client_binary }} {{ openshift_examples_import_command }} --config={{ openshift.common.config_base }}/master/admin.kubeconfig -n openshift -f {{ item }}
when: openshift_examples_load_centos | bool
+ with_items:
+ - "{{ centos_image_streams }}"
register: oex_import_centos_streams
failed_when: "'already exists' not in oex_import_centos_streams.stderr and oex_import_centos_streams.rc != 0"
changed_when: false