Skip to content

Commit

Permalink
Update haproxy.cfg.j2
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Jan 12, 2024
1 parent ae6bc7d commit cbc1147
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/haproxy/templates/haproxy.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,5 @@ listen replicas_async_direct
{% for host in groups['postgres_cluster'] %}
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['inventory_hostname'] }}:{{ postgresql_port }} check port {{ patroni_restapi_port }}
{% endfor %}
{% endif %}
{% endif %}

0 comments on commit cbc1147

Please sign in to comment.