summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-management
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-10-09 10:56:43 -0400
committerGitHub <noreply@github.com>2017-10-09 10:56:43 -0400
commitfced8262d239d1d44ce64a5c6d02caa1530c5d45 (patch)
treed50659fa9b1fd4ab41ae611edf1f65b52c4fd5e9 /playbooks/common/openshift-management
parentb37c5e648736c11913c56ee2b9620920ef42e99e (diff)
parentc0f63fb902b53bc592e6862d5876af9b244ee82b (diff)
downloadopenshift-fced8262d239d1d44ce64a5c6d02caa1530c5d45.tar.gz
openshift-fced8262d239d1d44ce64a5c6d02caa1530c5d45.tar.bz2
openshift-fced8262d239d1d44ce64a5c6d02caa1530c5d45.tar.xz
openshift-fced8262d239d1d44ce64a5c6d02caa1530c5d45.zip
Merge pull request #5682 from tbielawa/openshift_management
Rename openshift_cfme role to openshift_management
Diffstat (limited to 'playbooks/common/openshift-management')
-rw-r--r--playbooks/common/openshift-management/config.yml15
l---------playbooks/common/openshift-management/filter_plugins1
l---------playbooks/common/openshift-management/library1
l---------playbooks/common/openshift-management/roles1
-rw-r--r--playbooks/common/openshift-management/uninstall.yml8
5 files changed, 26 insertions, 0 deletions
diff --git a/playbooks/common/openshift-management/config.yml b/playbooks/common/openshift-management/config.yml
new file mode 100644
index 000000000..0aaafe440
--- /dev/null
+++ b/playbooks/common/openshift-management/config.yml
@@ -0,0 +1,15 @@
+---
+- 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 }}"
diff --git a/playbooks/common/openshift-management/filter_plugins b/playbooks/common/openshift-management/filter_plugins
new file mode 120000
index 000000000..99a95e4ca
--- /dev/null
+++ b/playbooks/common/openshift-management/filter_plugins
@@ -0,0 +1 @@
+../../../filter_plugins \ No newline at end of file
diff --git a/playbooks/common/openshift-management/library b/playbooks/common/openshift-management/library
new file mode 120000
index 000000000..ba40d2f56
--- /dev/null
+++ b/playbooks/common/openshift-management/library
@@ -0,0 +1 @@
+../../../library \ No newline at end of file
diff --git a/playbooks/common/openshift-management/roles b/playbooks/common/openshift-management/roles
new file mode 120000
index 000000000..20c4c58cf
--- /dev/null
+++ b/playbooks/common/openshift-management/roles
@@ -0,0 +1 @@
+../../../roles \ No newline at end of file
diff --git a/playbooks/common/openshift-management/uninstall.yml b/playbooks/common/openshift-management/uninstall.yml
new file mode 100644
index 000000000..698d93405
--- /dev/null
+++ b/playbooks/common/openshift-management/uninstall.yml
@@ -0,0 +1,8 @@
+---
+- name: Uninstall CFME
+ hosts: masters
+ tasks:
+ - name: Run the CFME Uninstall Role Tasks
+ include_role:
+ name: openshift_management
+ tasks_from: uninstall