From 534113870fc5e6c47fe8dbba1322a462c9cbef37 Mon Sep 17 00:00:00 2001 From: Tim Bielawa Date: Tue, 3 Oct 2017 17:21:49 -0400 Subject: Hooks for installing CFME during full openshift installation --- playbooks/common/openshift-cluster/config.yml | 3 +++ .../common/openshift-cluster/openshift_cfme.yml | 25 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 playbooks/common/openshift-cluster/openshift_cfme.yml (limited to 'playbooks/common/openshift-cluster') diff --git a/playbooks/common/openshift-cluster/config.yml b/playbooks/common/openshift-cluster/config.yml index 4ca0d48e4..2b6f48468 100644 --- a/playbooks/common/openshift-cluster/config.yml +++ b/playbooks/common/openshift-cluster/config.yml @@ -56,6 +56,9 @@ - include: service_catalog.yml when: openshift_enable_service_catalog | default(false) | bool +- include: openshift_cfme.yml + when: openshift_cfme_install_cfme | default(false) | bool + - name: Print deprecated variable warning message if necessary hosts: oo_first_master gather_facts: no diff --git a/playbooks/common/openshift-cluster/openshift_cfme.yml b/playbooks/common/openshift-cluster/openshift_cfme.yml new file mode 100644 index 000000000..29966d99e --- /dev/null +++ b/playbooks/common/openshift-cluster/openshift_cfme.yml @@ -0,0 +1,25 @@ +--- +- name: CFME Install Checkpoint Start + hosts: localhost + connection: local + gather_facts: false + tasks: + - name: Set CFME install 'In Progress' + set_stats: + data: + installer_phase_cfme: "In Progress" + aggregate: false + +- name: CFME + include: ../openshift-cfme/config.yml + +- name: CFME Install Checkpoint End + hosts: localhost + connection: local + gather_facts: false + tasks: + - name: Set CFME install 'Complete' + set_stats: + data: + installer_phase_CFME: "Complete" + aggregate: false -- cgit v1.2.3