main.yml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. ---
  2. r_openshift_node_firewall_enabled: "{{ os_firewall_enabled | default(True) }}"
  3. r_openshift_node_use_firewalld: "{{ os_firewall_use_firewalld | default(False) }}"
  4. openshift_service_type: "{{ openshift.common.service_type }}"
  5. openshift_image_tag: ''
  6. openshift_node_ami_prep_packages:
  7. - "{{ openshift_service_type }}-master"
  8. - "{{ openshift_service_type }}-node"
  9. - "{{ openshift_service_type }}-docker-excluder"
  10. - "{{ openshift_service_type }}-sdn-ovs"
  11. - ansible
  12. - openvswitch
  13. - docker
  14. - etcd
  15. #- pcs
  16. - haproxy
  17. - dnsmasq
  18. - ntp
  19. - logrotate
  20. - httpd-tools
  21. - bind
  22. - firewalld
  23. - libselinux-python
  24. - conntrack-tools
  25. - openssl
  26. - cloud-init
  27. - iproute
  28. - python-dbus
  29. - PyYAML
  30. - yum-utils
  31. - python2-boto
  32. - python2-boto3
  33. - cloud-utils-growpart
  34. # gluster
  35. - glusterfs-fuse
  36. - heketi-client
  37. # nfs
  38. - nfs-utils
  39. - flannel
  40. - bash-completion
  41. # cockpit
  42. - cockpit-ws
  43. - cockpit-system
  44. - cockpit-bridge
  45. - cockpit-docker
  46. # iscsi
  47. - iscsi-initiator-utils
  48. # ceph
  49. - ceph-common
  50. # systemcontainer
  51. # - runc
  52. # - container-selinux
  53. # - atomic
  54. #
  55. openshift_deployment_type: origin
  56. openshift_node_bootstrap: False
  57. r_openshift_node_os_firewall_deny: []
  58. r_openshift_node_os_firewall_allow:
  59. - service: Kubernetes kubelet
  60. port: 10250/tcp
  61. - service: http
  62. port: 80/tcp
  63. - service: https
  64. port: 443/tcp
  65. - service: OpenShift OVS sdn
  66. port: 4789/udp
  67. cond: openshift_use_openshift_sdn | bool
  68. - service: Calico BGP Port
  69. port: 179/tcp
  70. cond: "{{ openshift_node_use_calico }}"
  71. - service: Kubernetes service NodePort TCP
  72. port: "{{ openshift_node_port_range | default('') }}/tcp"
  73. cond: "{{ openshift_node_port_range is defined }}"
  74. - service: Kubernetes service NodePort UDP
  75. port: "{{ openshift_node_port_range | default('') }}/udp"
  76. cond: "{{ openshift_node_port_range is defined }}"
  77. oreg_url: ''
  78. oreg_host: "{{ oreg_url.split('/')[0] if '.' in oreg_url.split('/')[0] else '' }}"
  79. oreg_auth_credentials_path: "{{ openshift_node_data_dir }}/.docker"
  80. oreg_auth_credentials_replace: False
  81. # NOTE
  82. # r_openshift_node_*_default may be defined external to this role.
  83. # openshift_use_*, if defined, may affect other roles or play behavior.
  84. openshift_node_use_openshift_sdn_default: "{{ openshift_use_openshift_sdn | default(True) }}"
  85. openshift_node_use_openshift_sdn: "{{ openshift_node_use_openshift_sdn_default }}"
  86. openshift_node_sdn_network_plugin_name_default: "{{ os_sdn_network_plugin_name | default('redhat/openshift-ovs-subnet') }}"
  87. openshift_node_sdn_network_plugin_name: "{{ openshift_node_sdn_network_plugin_name_default }}"
  88. openshift_node_use_calico_default: "{{ openshift_use_calico | default(False) }}"
  89. openshift_node_use_calico: "{{ openshift_node_use_calico_default }}"
  90. openshift_node_use_nuage_default: "{{ openshift_use_nuage | default(False) }}"
  91. openshift_node_use_nuage: "{{ openshift_node_use_nuage_default }}"
  92. openshift_node_use_contiv_default: "{{ openshift_use_contiv | default(False) }}"
  93. openshift_node_use_contiv: "{{ openshift_node_use_contiv_default }}"
  94. openshift_node_data_dir_default: "{{ openshift_data_dir | default('/var/lib/origin') }}"
  95. openshift_node_data_dir: "{{ openshift_node_data_dir_default }}"