summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-management/private/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/openshift-management/private/config.yml')
-rw-r--r--playbooks/openshift-management/private/config.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/playbooks/openshift-management/private/config.yml b/playbooks/openshift-management/private/config.yml
new file mode 100644
index 000000000..3f1cdf713
--- /dev/null
+++ b/playbooks/openshift-management/private/config.yml
@@ -0,0 +1,39 @@
+---
+- name: Management Install Checkpoint Start
+ hosts: all
+ gather_facts: false
+ tasks:
+ - name: Set Management install 'In Progress'
+ run_once: true
+ set_stats:
+ data:
+ installer_phase_management:
+ status: "In Progress"
+ start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
+
+- name: Setup CFME
+ hosts: oo_first_master
+ pre_tasks:
+ - name: Create a temporary place to evaluate the PV templates
+ command: mktemp -d /tmp/openshift-ansible-XXXXXXX
+ register: r_openshift_management_mktemp
+ changed_when: false
+
+ tasks:
+ - name: Run the CFME Setup Role
+ include_role:
+ name: openshift_management
+ vars:
+ template_dir: "{{ hostvars[groups.masters.0].r_openshift_management_mktemp.stdout }}"
+
+- name: Management Install Checkpoint End
+ hosts: all
+ gather_facts: false
+ tasks:
+ - name: Set Management install 'Complete'
+ run_once: true
+ set_stats:
+ data:
+ installer_phase_management:
+ status: "Complete"
+ end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"