gluster_hosts.yml 798 B

1234567891011121314151617181920
  1. ---
  2. # l_glusterfs_hosts is passed in via add_hosts.yml during scaleup plays.
  3. - name: Configure GlusterFS hosts
  4. hosts: "{{ l_glusterfs_hosts | default('oo_glusterfs_to_config') }}"
  5. tasks:
  6. - import_role:
  7. name: openshift_storage_glusterfs
  8. tasks_from: firewall.yml
  9. when: >
  10. openshift_storage_glusterfs_is_native | default(True) | bool
  11. or openshift_storage_glusterfs_registry_is_native | default(True) | bool
  12. - import_role:
  13. name: openshift_storage_glusterfs
  14. tasks_from: kernel_modules.yml
  15. - import_role:
  16. name: openshift_storage_glusterfs
  17. tasks_from: host_services.yml
  18. when: >
  19. openshift_storage_glusterfs_is_native | default(True) | bool
  20. or openshift_storage_glusterfs_registry_is_native | default(True) | bool