main.yml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. ---
  2. openshift_storage_glusterfs_timeout: 300
  3. openshift_storage_glusterfs_is_native: True
  4. openshift_storage_glusterfs_name: 'storage'
  5. openshift_storage_glusterfs_nodeselector: "glusterfs={{ openshift_storage_glusterfs_name }}-host"
  6. openshift_storage_glusterfs_storageclass: True
  7. openshift_storage_glusterfs_image: "{{ 'rhgs3/rhgs-server-rhel7' | quote if deployment_type == 'openshift-enterprise' else 'gluster/gluster-centos' | quote }}"
  8. openshift_storage_glusterfs_version: 'latest'
  9. openshift_storage_glusterfs_wipe: False
  10. openshift_storage_glusterfs_heketi_is_native: "{{ openshift_storage_glusterfs_is_native }}"
  11. openshift_storage_glusterfs_heketi_is_missing: True
  12. openshift_storage_glusterfs_heketi_deploy_is_missing: True
  13. openshift_storage_glusterfs_heketi_cli: 'heketi-cli'
  14. openshift_storage_glusterfs_heketi_image: "{{ 'rhgs3/rhgs-volmanager-rhel7' | quote if deployment_type == 'openshift-enterprise' else 'heketi/heketi' | quote }}"
  15. openshift_storage_glusterfs_heketi_version: 'latest'
  16. openshift_storage_glusterfs_heketi_admin_key: "{{ omit }}"
  17. openshift_storage_glusterfs_heketi_user_key: "{{ omit }}"
  18. openshift_storage_glusterfs_heketi_topology_load: True
  19. openshift_storage_glusterfs_heketi_wipe: "{{ openshift_storage_glusterfs_wipe }}"
  20. openshift_storage_glusterfs_heketi_url: "{{ omit }}"
  21. openshift_storage_glusterfs_heketi_port: 8080
  22. openshift_storage_glusterfs_heketi_executor: 'kubernetes'
  23. openshift_storage_glusterfs_heketi_ssh_port: 22
  24. openshift_storage_glusterfs_heketi_ssh_user: 'root'
  25. openshift_storage_glusterfs_heketi_ssh_sudo: False
  26. openshift_storage_glusterfs_heketi_ssh_keyfile: "{{ omit }}"
  27. openshift_storage_glusterfs_namespace: "{{ 'glusterfs' | quote if openshift_storage_glusterfs_is_native or openshift_storage_glusterfs_heketi_is_native else 'default' | quote }}"
  28. openshift_storage_glusterfs_registry_timeout: "{{ openshift_storage_glusterfs_timeout }}"
  29. openshift_storage_glusterfs_registry_namespace: "{{ openshift.hosted.registry.namespace | default(openshift_storage_glusterfs_namespace) }}"
  30. openshift_storage_glusterfs_registry_is_native: "{{ openshift_storage_glusterfs_is_native }}"
  31. openshift_storage_glusterfs_registry_name: 'registry'
  32. openshift_storage_glusterfs_registry_nodeselector: "glusterfs={{ openshift_storage_glusterfs_registry_name }}-host"
  33. openshift_storage_glusterfs_registry_storageclass: False
  34. openshift_storage_glusterfs_registry_image: "{{ openshift_storage_glusterfs_image }}"
  35. openshift_storage_glusterfs_registry_version: "{{ openshift_storage_glusterfs_version }}"
  36. openshift_storage_glusterfs_registry_wipe: "{{ openshift_storage_glusterfs_wipe }}"
  37. openshift_storage_glusterfs_registry_heketi_is_native: "{{ openshift_storage_glusterfs_registry_is_native }}"
  38. openshift_storage_glusterfs_registry_heketi_is_missing: "{{ openshift_storage_glusterfs_heketi_is_missing }}"
  39. openshift_storage_glusterfs_registry_heketi_deploy_is_missing: "{{ openshift_storage_glusterfs_heketi_deploy_is_missing }}"
  40. openshift_storage_glusterfs_registry_heketi_cli: "{{ openshift_storage_glusterfs_heketi_cli }}"
  41. openshift_storage_glusterfs_registry_heketi_image: "{{ openshift_storage_glusterfs_heketi_image }}"
  42. openshift_storage_glusterfs_registry_heketi_version: "{{ openshift_storage_glusterfs_heketi_version }}"
  43. openshift_storage_glusterfs_registry_heketi_admin_key: "{{ omit }}"
  44. openshift_storage_glusterfs_registry_heketi_user_key: "{{ omit }}"
  45. openshift_storage_glusterfs_registry_heketi_topology_load: "{{ openshift_storage_glusterfs_heketi_topology_load }}"
  46. openshift_storage_glusterfs_registry_heketi_wipe: "{{ openshift_storage_glusterfs_heketi_wipe }}"
  47. openshift_storage_glusterfs_registry_heketi_url: "{{ openshift_storage_glusterfs_heketi_url | default(omit) }}"
  48. openshift_storage_glusterfs_registry_heketi_port: "{{ openshift_storage_glusterfs_heketi_port }}"
  49. openshift_storage_glusterfs_registry_heketi_executor: "{{ openshift_storage_glusterfs_heketi_executor }}"
  50. openshift_storage_glusterfs_registry_heketi_ssh_port: "{{ openshift_storage_glusterfs_heketi_ssh_port }}"
  51. openshift_storage_glusterfs_registry_heketi_ssh_user: "{{ openshift_storage_glusterfs_heketi_ssh_user }}"
  52. openshift_storage_glusterfs_registry_heketi_ssh_sudo: "{{ openshift_storage_glusterfs_heketi_ssh_sudo }}"
  53. openshift_storage_glusterfs_registry_heketi_ssh_keyfile: "{{ openshift_storage_glusterfs_heketi_ssh_keyfile | default(omit) }}"
  54. r_openshift_master_firewall_enabled: True
  55. r_openshift_master_use_firewalld: False
  56. r_openshift_storage_glusterfs_os_firewall_deny: []
  57. r_openshift_storage_glusterfs_os_firewall_allow:
  58. - service: glusterfs_sshd
  59. port: "2222/tcp"
  60. - service: glusterfs_daemon
  61. port: "24007/tcp"
  62. - service: glusterfs_management
  63. port: "24008/tcp"
  64. - service: glusterfs_bricks
  65. port: "49152-49251/tcp"