main.yml 650 B

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