Merge "Allow do disable SSL only for stats frontend"

This commit is contained in:
Zuul
2022年10月07日 09:29:57 +00:00
committed by Gerrit Code Review

View File

@@ -30,6 +30,7 @@ haproxy_interval: 12000
haproxy_stats_enabled:False
haproxy_stats_bind_address:127.0.0.1
haproxy_stats_port:1936
haproxy_stats_ssl:"{{ haproxy_ssl }}"
haproxy_username:admin
haproxy_stats_password:secrete
haproxy_stats_refresh_interval:60

View File

@@ -42,7 +42,7 @@ defaults
{% if haproxy_stats_enabled | bool %}
listen stats
bind {{ haproxy_stats_bind_address }}:{{ haproxy_stats_port }} {% if haproxy_ssl | bool %}ssl crt {{ haproxy_ssl_cert_path }}/haproxy_{{ ansible_facts['hostname'] }}-{{ haproxy_bind_internal_lb_vip_address }}.pem{% endif %}
bind {{ haproxy_stats_bind_address }}:{{ haproxy_stats_port }} {% if haproxy_stats_ssl | bool %}ssl crt {{ haproxy_ssl_cert_path }}/haproxy_{{ ansible_facts['hostname'] }}-{{ haproxy_bind_internal_lb_vip_address }}.pem{% endif %}
{% if haproxy_stats_process is defined %}
bind-process {{ haproxy_stats_process }}
Reference in New Issue
openstack/openstack-ansible-haproxy_server
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.