diff options
author | Saravanakumar Arumugam <sarumuga@redhat.com> | 2018-02-07 14:52:46 +0530 |
---|---|---|
committer | Saravanakumar Arumugam <sarumuga@redhat.com> | 2018-02-07 14:52:46 +0530 |
commit | 81033d58030f9d1c1207cbfe487e0421c7cdd7be (patch) | |
tree | 9afb277df0dd76df42a4a15f8f312303f7218e9f /roles/openshift_storage_glusterfs/tasks/uninstall.yml | |
parent | 5efd86b5bc2482116b713e9fffa725ccc5cbf31a (diff) | |
download | openshift-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.yml | 10 |
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" |