summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/tasks
diff options
context:
space:
mode:
authorLuke Meyer <lmeyer@redhat.com>2015-11-10 09:56:54 -0500
committerLuke Meyer <lmeyer@redhat.com>2015-11-10 14:51:40 -0500
commit36d44c4b8bb2e3059b67dea7ddb67f7bbaf921e4 (patch)
treec92d504cc989a1691e23f6c5eb095346a351a34f /roles/openshift_examples/tasks
parent35c3b7d15cfac7da748382dc4ad429ca78e7c74e (diff)
downloadopenshift-36d44c4b8bb2e3059b67dea7ddb67f7bbaf921e4.tar.gz
openshift-36d44c4b8bb2e3059b67dea7ddb67f7bbaf921e4.tar.bz2
openshift-36d44c4b8bb2e3059b67dea7ddb67f7bbaf921e4.tar.xz
openshift-36d44c4b8bb2e3059b67dea7ddb67f7bbaf921e4.zip
examples: include logging and metrics infrastructure
Diffstat (limited to 'roles/openshift_examples/tasks')
-rw-r--r--roles/openshift_examples/tasks/main.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/openshift_examples/tasks/main.yml b/roles/openshift_examples/tasks/main.yml
index 40b7a5d6e..f48e207e7 100644
--- a/roles/openshift_examples/tasks/main.yml
+++ b/roles/openshift_examples/tasks/main.yml
@@ -37,6 +37,22 @@
failed_when: "'already exists' not in oex_import_quickstarts.stderr and oex_import_quickstarts.rc != 0"
changed_when: false
+- name: Import origin infrastructure-templates
+ command: >
+ {{ openshift.common.client_binary }} {{ openshift_examples_import_command }} -n openshift -f {{ infrastructure_origin_base }}
+ when: openshift_examples_load_centos | bool
+ register: oex_import_infrastructure
+ failed_when: "'already exists' not in oex_import_infrastructure.stderr and oex_import_infrastructure.rc != 0"
+ changed_when: false
+
+- name: Import enterprise infrastructure-templates
+ command: >
+ {{ openshift.common.client_binary }} {{ openshift_examples_import_command }} -n openshift -f {{ infrastructure_enterprise_base }}
+ when: openshift_examples_load_rhel | bool
+ register: oex_import_infrastructure
+ failed_when: "'already exists' not in oex_import_infrastructure.stderr and oex_import_infrastructure.rc != 0"
+ changed_when: false
+
- name: Import xPaas image streams
command: >