main.yml 719 B

123456789101112131415161718192021222324252627
  1. ---
  2. r_openshift_loadbalancer_firewall_enabled: True
  3. r_openshift_loadbalancer_use_firewalld: False
  4. haproxy_frontends:
  5. - name: main
  6. binds:
  7. - "*:{{ openshift_master_api_port | default(8443) }}"
  8. default_backend: default
  9. haproxy_backends:
  10. - name: default
  11. balance: roundrobin
  12. servers:
  13. - name: web01
  14. address: 127.0.0.1:9000
  15. opts: check
  16. r_openshift_loadbalancer_os_firewall_deny: []
  17. r_openshift_loadbalancer_os_firewall_allow:
  18. - service: haproxy stats
  19. port: "9000/tcp"
  20. - service: haproxy balance
  21. port: "{{ openshift_master_api_port | default(8443) }}/tcp"
  22. - service: nuage mon
  23. port: "{{ nuage_mon_rest_server_port | default(9443) }}/tcp"
  24. cond: "{{ openshift_use_nuage | default(false) | bool }}"