From 85815450dbec0016e4f133c86b95b0e16f3737dc Mon Sep 17 00:00:00 2001 From: Russell Teague Date: Wed, 22 Nov 2017 09:15:40 -0500 Subject: Playbook Consolidation - openshift-service-catalog --- playbooks/openshift-service-catalog/config.yml | 4 +++ .../openshift-service-catalog/private/config.yml | 33 ++++++++++++++++++++++ playbooks/openshift-service-catalog/private/roles | 1 + 3 files changed, 38 insertions(+) create mode 100644 playbooks/openshift-service-catalog/config.yml create mode 100644 playbooks/openshift-service-catalog/private/config.yml create mode 120000 playbooks/openshift-service-catalog/private/roles (limited to 'playbooks/openshift-service-catalog') 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 -- cgit v1.2.3