summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-glusterfs
diff options
context:
space:
mode:
authorSaravanakumar Arumugam <sarumuga@redhat.com>2018-02-07 14:52:46 +0530
committerSaravanakumar Arumugam <sarumuga@redhat.com>2018-02-07 14:52:46 +0530
commit81033d58030f9d1c1207cbfe487e0421c7cdd7be (patch)
tree9afb277df0dd76df42a4a15f8f312303f7218e9f /playbooks/openshift-glusterfs
parent5efd86b5bc2482116b713e9fffa725ccc5cbf31a (diff)
downloadopenshift-81033d58030f9d1c1207cbfe487e0421c7cdd7be.tar.gz
openshift-81033d58030f9d1c1207cbfe487e0421c7cdd7be.tar.bz2
openshift-81033d58030f9d1c1207cbfe487e0421c7cdd7be.tar.xz
openshift-81033d58030f9d1c1207cbfe487e0421c7cdd7be.zip
uninstall playbook for GlusterFS
Signed-off-by: Saravanakumar Arumugam <sarumuga@redhat.com>
Diffstat (limited to 'playbooks/openshift-glusterfs')
-rw-r--r--playbooks/openshift-glusterfs/private/uninstall.yml8
-rw-r--r--playbooks/openshift-glusterfs/uninstall.yml4
2 files changed, 12 insertions, 0 deletions
diff --git a/playbooks/openshift-glusterfs/private/uninstall.yml b/playbooks/openshift-glusterfs/private/uninstall.yml
new file mode 100644
index 000000000..40f178f4c
--- /dev/null
+++ b/playbooks/openshift-glusterfs/private/uninstall.yml
@@ -0,0 +1,8 @@
+---
+- name: Uninstall GlusterFS
+ hosts: oo_first_master
+ tasks:
+ - name: Run glusterfs uninstall role
+ include_role:
+ name: openshift_storage_glusterfs
+ tasks_from: uninstall.yml
diff --git a/playbooks/openshift-glusterfs/uninstall.yml b/playbooks/openshift-glusterfs/uninstall.yml
new file mode 100644
index 000000000..77bf75c23
--- /dev/null
+++ b/playbooks/openshift-glusterfs/uninstall.yml
@@ -0,0 +1,4 @@
+---
+- import_playbook: ../init/main.yml
+
+- import_playbook: private/uninstall.yml