summaryrefslogtreecommitdiffstats
path: root/roles/openshift_storage_glusterfs/tasks/uninstall.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_storage_glusterfs/tasks/uninstall.yml')
-rw-r--r--roles/openshift_storage_glusterfs/tasks/uninstall.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/roles/openshift_storage_glusterfs/tasks/uninstall.yml b/roles/openshift_storage_glusterfs/tasks/uninstall.yml
index 148b8d65d..dcf0c9357 100644
--- a/roles/openshift_storage_glusterfs/tasks/uninstall.yml
+++ b/roles/openshift_storage_glusterfs/tasks/uninstall.yml
@@ -1,10 +1,12 @@
---
-- block:
- - include_tasks: glusterfs_config_facts.yml
- - include_tasks: glusterfs_uninstall.yml
- when: "'glusterfs' in groups and groups['glusterfs'] | length > 0"
+- name: uninstall glusterfs
+ 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"
+- name: uninstall glusterfs registry
+ block:
+ - include_tasks: glusterfs_registry_facts.yml
+ - include_tasks: glusterfs_uninstall.yml
+ when: "'glusterfs_registry' in groups and groups['glusterfs_registry'] | length > 0"