summaryrefslogtreecommitdiffstats
path: root/roles/openshift_storage_glusterfs/tasks/uninstall.yml
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 /roles/openshift_storage_glusterfs/tasks/uninstall.yml
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 'roles/openshift_storage_glusterfs/tasks/uninstall.yml')
-rw-r--r--roles/openshift_storage_glusterfs/tasks/uninstall.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/openshift_storage_glusterfs/tasks/uninstall.yml b/roles/openshift_storage_glusterfs/tasks/uninstall.yml
new file mode 100644
index 000000000..148b8d65d
--- /dev/null
+++ b/roles/openshift_storage_glusterfs/tasks/uninstall.yml
@@ -0,0 +1,10 @@
+---
+- block:
+ - include_tasks: glusterfs_config_facts.yml
+ - include_tasks: glusterfs_uninstall.yml
+ when: "'glusterfs' in groups and groups['glusterfs'] | length > 0"
+
+- block:
+ - include_tasks: glusterfs_registry_facts.yml
+ - include_tasks: glusterfs_uninstall.yml
+ when: "'glusterfs_registry' in groups and groups['glusterfs_registry'] | length > 0"