summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-service-catalog
diff options
context:
space:
mode:
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