uninstall.yml 448 B

12345678910111213141516
  1. ---
  2. - name: uninstall glusterfs
  3. block:
  4. - import_tasks: glusterfs_config_facts.yml
  5. - import_tasks: glusterfs_uninstall.yml
  6. when:
  7. - "'glusterfs' in groups"
  8. - "groups['glusterfs'] | length > 0"
  9. - name: uninstall glusterfs registry
  10. block:
  11. - import_tasks: glusterfs_registry_facts.yml
  12. - import_tasks: glusterfs_uninstall.yml
  13. when:
  14. - "'glusterfs_registry' in groups"
  15. - "groups['glusterfs_registry'] | length > 0"