summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-service-catalog
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-11-22 09:15:40 -0500
committerRussell Teague <rteague@redhat.com>2017-11-22 11:10:59 -0500
commit85815450dbec0016e4f133c86b95b0e16f3737dc (patch)
tree395139a495f8f125d312283201368d25fcc6ef4d /playbooks/openshift-service-catalog
parent012be35217f7415d50afe5e74b7e2e995feea6b5 (diff)
downloadopenshift-85815450dbec0016e4f133c86b95b0e16f3737dc.tar.gz
openshift-85815450dbec0016e4f133c86b95b0e16f3737dc.tar.bz2
openshift-85815450dbec0016e4f133c86b95b0e16f3737dc.tar.xz
openshift-85815450dbec0016e4f133c86b95b0e16f3737dc.zip
Playbook Consolidation - openshift-service-catalog
Diffstat (limited to 'playbooks/openshift-service-catalog')
-rw-r--r--playbooks/openshift-service-catalog/config.yml4
-rw-r--r--playbooks/openshift-service-catalog/private/config.yml33
l---------playbooks/openshift-service-catalog/private/roles1
3 files changed, 38 insertions, 0 deletions
diff --git a/playbooks/openshift-service-catalog/config.yml b/playbooks/openshift-service-catalog/config.yml
new file mode 100644
index 000000000..8ee57ce8d
--- /dev/null
+++ b/playbooks/openshift-service-catalog/config.yml
@@ -0,0 +1,4 @@
+---
+- include: ../init/main.yml
+
+- include: private/config.yml
diff --git a/playbooks/openshift-service-catalog/private/config.yml b/playbooks/openshift-service-catalog/private/config.yml
new file mode 100644
index 000000000..7bb8511f6
--- /dev/null
+++ b/playbooks/openshift-service-catalog/private/config.yml
@@ -0,0 +1,33 @@
+---
+- name: Service Catalog Install Checkpoint Start
+ hosts: all
+ gather_facts: false
+ tasks:
+ - name: Set Service Catalog install 'In Progress'
+ run_once: true
+ set_stats:
+ data:
+ installer_phase_servicecatalog:
+ status: "In Progress"
+ start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
+
+- name: Service Catalog
+ hosts: oo_first_master
+ roles:
+ - openshift_service_catalog
+ - ansible_service_broker
+ - template_service_broker
+ vars:
+ first_master: "{{ groups.oo_first_master[0] }}"
+
+- name: Service Catalog Install Checkpoint End
+ hosts: all
+ gather_facts: false
+ tasks:
+ - name: Set Service Catalog install 'Complete'
+ run_once: true
+ set_stats:
+ data:
+ installer_phase_servicecatalog:
+ status: "Complete"
+ end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
diff --git a/playbooks/openshift-service-catalog/private/roles b/playbooks/openshift-service-catalog/private/roles
new file mode 120000
index 000000000..20c4c58cf
--- /dev/null
+++ b/playbooks/openshift-service-catalog/private/roles
@@ -0,0 +1 @@
+../../../roles \ No newline at end of file