summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/tasks
diff options
context:
space:
mode:
authorWesley Hearn <wesley.s.hearn@gmail.com>2015-10-22 10:37:17 -0400
committerWesley Hearn <wesley.s.hearn@gmail.com>2015-10-22 10:37:17 -0400
commitd7c0c0eaff15315e7c57d196d08cc53f9ab200c5 (patch)
tree5b1a3db396f883d95e85e6166c2ee757744ec419 /roles/openshift_examples/tasks
parent04d172ac4041c83857646f20eabbaf71a5e56673 (diff)
parentcc43b2ee85ed3f55529ac12107780aec414affee (diff)
downloadopenshift-d7c0c0eaff15315e7c57d196d08cc53f9ab200c5.tar.gz
openshift-d7c0c0eaff15315e7c57d196d08cc53f9ab200c5.tar.bz2
openshift-d7c0c0eaff15315e7c57d196d08cc53f9ab200c5.tar.xz
openshift-d7c0c0eaff15315e7c57d196d08cc53f9ab200c5.zip
Merge pull request #678 from sdodson/examples
Adjust the logic as to when examples are deployed
Diffstat (limited to 'roles/openshift_examples/tasks')
-rw-r--r--roles/openshift_examples/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_examples/tasks/main.yml b/roles/openshift_examples/tasks/main.yml
index 3a829a4c6..ef98237cd 100644
--- a/roles/openshift_examples/tasks/main.yml
+++ b/roles/openshift_examples/tasks/main.yml
@@ -9,7 +9,7 @@
command: >
{{ openshift.common.client_binary }} {{ openshift_examples_import_command }} -n openshift -f {{ rhel_image_streams }}
when: openshift_examples_load_rhel
- register: oex_import_rhel_streams
+ register: oex_import_rhel_streams | bool
failed_when: "'already exists' not in oex_import_rhel_streams.stderr and oex_import_rhel_streams.rc != 0"
changed_when: false
@@ -32,7 +32,7 @@
- name: Import quickstart-templates
command: >
{{ openshift.common.client_binary }} {{ openshift_examples_import_command }} -n openshift -f {{ quickstarts_base }}
- when: openshift_examples_load_quickstarts
+ when: openshift_examples_load_quickstarts | bool
register: oex_import_quickstarts
failed_when: "'already exists' not in oex_import_quickstarts.stderr and oex_import_quickstarts.rc != 0"
changed_when: false