main.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ---
  2. galaxy_info:
  3. author: Jhon Honce
  4. description: OpenShift Node
  5. company: Red Hat, Inc.
  6. license: Apache License, Version 2.0
  7. min_ansible_version: 2.1
  8. platforms:
  9. - name: EL
  10. versions:
  11. - 7
  12. categories:
  13. - cloud
  14. dependencies:
  15. - role: lib_openshift
  16. - role: openshift_common
  17. - role: openshift_clock
  18. - role: openshift_docker
  19. - role: openshift_node_certificates
  20. - role: openshift_cloud_provider
  21. - role: os_firewall
  22. os_firewall_allow:
  23. - service: Kubernetes kubelet
  24. port: 10250/tcp
  25. - service: http
  26. port: 80/tcp
  27. - service: https
  28. port: 443/tcp
  29. - role: os_firewall
  30. os_firewall_allow:
  31. - service: OpenShift OVS sdn
  32. port: 4789/udp
  33. when: openshift.common.use_openshift_sdn | bool
  34. - role: os_firewall
  35. os_firewall_allow:
  36. - service: Calico BGP Port
  37. port: 179/tcp
  38. when: openshift.common.use_calico | bool
  39. - role: os_firewall
  40. os_firewall_allow:
  41. - service: Kubernetes service NodePort TCP
  42. port: "{{ openshift_node_port_range | default('') }}/tcp"
  43. - service: Kubernetes service NodePort UDP
  44. port: "{{ openshift_node_port_range | default('') }}/udp"
  45. when: openshift_node_port_range is defined
  46. - role: openshift_node_dnsmasq
  47. when: openshift.common.use_dnsmasq | bool