summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-11-07 22:31:00 -0500
committerGitHub <noreply@github.com>2017-11-07 22:31:00 -0500
commit07beb83a933bc34d50c54081084db838841fe464 (patch)
tree8583c48535fc292aa2f0cc7c189d293c20702008 /roles/openshift_examples/tasks
parent588ee199a2683c7f142025b6e0b8ee755d1cd201 (diff)
parent2169c2476adfe112428849396b2292a76ecd5305 (diff)
downloadopenshift-07beb83a933bc34d50c54081084db838841fe464.tar.gz
openshift-07beb83a933bc34d50c54081084db838841fe464.tar.bz2
openshift-07beb83a933bc34d50c54081084db838841fe464.tar.xz
openshift-07beb83a933bc34d50c54081084db838841fe464.zip
Merge pull request #5903 from sdodson/dotnet-centos
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