|
@@ -9,7 +9,7 @@
|
|
command: >
|
|
command: >
|
|
{{ openshift.common.client_binary }} {{ openshift_examples_import_command }} -n openshift -f {{ rhel_image_streams }}
|
|
{{ openshift.common.client_binary }} {{ openshift_examples_import_command }} -n openshift -f {{ rhel_image_streams }}
|
|
when: openshift_examples_load_rhel
|
|
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"
|
|
failed_when: "'already exists' not in oex_import_rhel_streams.stderr and oex_import_rhel_streams.rc != 0"
|
|
changed_when: false
|
|
changed_when: false
|
|
|
|
|
|
@@ -32,7 +32,7 @@
|
|
- name: Import quickstart-templates
|
|
- name: Import quickstart-templates
|
|
command: >
|
|
command: >
|
|
{{ openshift.common.client_binary }} {{ openshift_examples_import_command }} -n openshift -f {{ quickstarts_base }}
|
|
{{ 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
|
|
register: oex_import_quickstarts
|
|
failed_when: "'already exists' not in oex_import_quickstarts.stderr and oex_import_quickstarts.rc != 0"
|
|
failed_when: "'already exists' not in oex_import_quickstarts.stderr and oex_import_quickstarts.rc != 0"
|
|
changed_when: false
|
|
changed_when: false
|