gitea_lb_listeners: - name: balance_git_http bind: - ":::80" servers: - name: "gitea99.opendev.org" address: "{{ (hostvars['gitea99.opendev.org'] | default({})).get('nodepool', {}).get('public_ipv4', '') }}:3080" check_method: "check" - name: balance_git_https bind: - ":::443" servers: - name: "gitea99.opendev.org" address: "{{ (hostvars['gitea99.opendev.org'] | default({})).get('nodepool', {}).get('public_ipv4', '') }}:3081" check_method: "check check-ssl ca-file /usr/local/etc/haproxy/ca.crt"