upgrade.yml 703 B

1234567891011121314151617181920212223242526
  1. ---
  2. - import_tasks: mktemp.yml
  3. - name: Set state facts
  4. set_fact:
  5. openshift_storage_glusterfs_heketi_deploy_is_missing: False
  6. openshift_storage_glusterfs_heketi_topology_load: False
  7. openshift_storage_glusterfs_restart: True
  8. - name: upgrade glusterfs
  9. block:
  10. - import_tasks: glusterfs_config_facts.yml
  11. - import_tasks: glusterfs_upgrade.yml
  12. when:
  13. - "'glusterfs' in groups"
  14. - "groups['glusterfs'] | length > 0"
  15. - name: upgrade glusterfs_registry
  16. block:
  17. - import_tasks: glusterfs_registry_facts.yml
  18. - import_tasks: glusterfs_upgrade.yml
  19. when:
  20. - "'glusterfs_registry' in groups"
  21. - "groups['glusterfs_registry'] | length > 0"
  22. - import_tasks: rmtemp.yml