config.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ---
  2. - name: GlusterFS Install Checkpoint Start
  3. hosts: oo_all_hosts
  4. gather_facts: false
  5. tasks:
  6. - name: Set GlusterFS install 'In Progress'
  7. set_stats:
  8. data:
  9. installer_phase_glusterfs: "In Progress"
  10. aggregate: false
  11. - name: Open firewall ports for GlusterFS nodes
  12. hosts: glusterfs
  13. tasks:
  14. - include_role:
  15. name: openshift_storage_glusterfs
  16. tasks_from: firewall.yml
  17. when:
  18. - openshift_storage_glusterfs_is_native | default(True) | bool
  19. - name: Open firewall ports for GlusterFS registry nodes
  20. hosts: glusterfs_registry
  21. tasks:
  22. - include_role:
  23. name: openshift_storage_glusterfs
  24. tasks_from: firewall.yml
  25. when:
  26. - openshift_storage_glusterfs_registry_is_native | default(True) | bool
  27. - name: Configure GlusterFS
  28. hosts: oo_first_master
  29. tasks:
  30. - name: setup glusterfs
  31. include_role:
  32. name: openshift_storage_glusterfs
  33. when: groups.oo_glusterfs_to_config | default([]) | count > 0
  34. - name: GlusterFS Install Checkpoint End
  35. hosts: oo_all_hosts
  36. gather_facts: false
  37. tasks:
  38. - name: Set GlusterFS install 'Complete'
  39. set_stats:
  40. data:
  41. installer_phase_glusterfs: "Complete"
  42. aggregate: false