summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-management/private
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-11-22 08:59:55 -0500
committerRussell Teague <rteague@redhat.com>2017-11-22 08:59:55 -0500
commit3d20df36ec19c6401eef0789aaa2e0d352e6db25 (patch)
tree978adf1a6e35a0cb6c27228c23173172389d7776 /playbooks/openshift-management/private
parent46ce19180bf4fe05327ab8a15bb689d908779e75 (diff)
downloadopenshift-3d20df36ec19c6401eef0789aaa2e0d352e6db25.tar.gz
openshift-3d20df36ec19c6401eef0789aaa2e0d352e6db25.tar.bz2
openshift-3d20df36ec19c6401eef0789aaa2e0d352e6db25.tar.xz
openshift-3d20df36ec19c6401eef0789aaa2e0d352e6db25.zip
Playbook Consolidation - openshift-management
Diffstat (limited to 'playbooks/openshift-management/private')
-rw-r--r--playbooks/openshift-management/private/add_container_provider.yml8
-rw-r--r--playbooks/openshift-management/private/config.yml39
l---------playbooks/openshift-management/private/filter_plugins1
l---------playbooks/openshift-management/private/library1
l---------playbooks/openshift-management/private/roles1
-rw-r--r--playbooks/openshift-management/private/uninstall.yml8
6 files changed, 58 insertions, 0 deletions
diff --git a/playbooks/openshift-management/private/add_container_provider.yml b/playbooks/openshift-management/private/add_container_provider.yml
new file mode 100644
index 000000000..facb3a5b9
--- /dev/null
+++ b/playbooks/openshift-management/private/add_container_provider.yml
@@ -0,0 +1,8 @@
+---
+- name: Add Container Provider to Management
+ hosts: oo_first_master
+ tasks:
+ - name: Run the Management Integration Tasks
+ include_role:
+ name: openshift_management
+ tasks_from: add_container_provider
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') }}"
diff --git a/playbooks/openshift-management/private/filter_plugins b/playbooks/openshift-management/private/filter_plugins
new file mode 120000
index 000000000..99a95e4ca
--- /dev/null
+++ b/playbooks/openshift-management/private/filter_plugins
@@ -0,0 +1 @@
+../../../filter_plugins \ No newline at end of file
diff --git a/playbooks/openshift-management/private/library b/playbooks/openshift-management/private/library
new file mode 120000
index 000000000..ba40d2f56
--- /dev/null
+++ b/playbooks/openshift-management/private/library
@@ -0,0 +1 @@
+../../../library \ No newline at end of file
diff --git a/playbooks/openshift-management/private/roles b/playbooks/openshift-management/private/roles
new file mode 120000
index 000000000..20c4c58cf
--- /dev/null
+++ b/playbooks/openshift-management/private/roles
@@ -0,0 +1 @@
+../../../roles \ No newline at end of file
diff --git a/playbooks/openshift-management/private/uninstall.yml b/playbooks/openshift-management/private/uninstall.yml
new file mode 100644
index 000000000..9f35cc276
--- /dev/null
+++ b/playbooks/openshift-management/private/uninstall.yml
@@ -0,0 +1,8 @@
+---
+- name: Uninstall CFME
+ hosts: masters[0]
+ tasks:
+ - name: Run the CFME Uninstall Role Tasks
+ include_role:
+ name: openshift_management
+ tasks_from: uninstall