Merge "Fixes the compatibility issue at HAProxy role with Ansible 2.9"

This commit is contained in:
Zuul 2019-11-23 17:02:25 +00:00 committed by Gerrit Code Review
commit cfdcaf3ab2

@ -7,7 +7,7 @@ global
log {{ syslog_server }}:{{ syslog_udp_port }} {{ syslog_haproxy_facility }}
maxconn {{ haproxy_max_connections }}
nbproc {{ haproxy_processes }}
{% if haproxy_processes > 1 and haproxy_process_cpu_map | bool %}
{% if (haproxy_processes | int > 1) and (haproxy_process_cpu_map | bool) %}
{% for cpu_idx in range(0, haproxy_processes) %}
cpu-map {{ cpu_idx + 1 }} {{ cpu_idx }}
{% endfor %}