Skip to content
Snippets Groups Projects
Commit 4f216b3d authored by Dincer Celik's avatar Dincer Celik
Browse files

Fixes the compatibility issue at HAProxy role with Ansible 2.9

Change-Id: I36b858b9b03005feabd77e7208674f37c820e9d4
Closes-Bug: #1852430
parent 8a003189
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ global ...@@ -7,7 +7,7 @@ global
log {{ syslog_server }}:{{ syslog_udp_port }} {{ syslog_haproxy_facility }} log {{ syslog_server }}:{{ syslog_udp_port }} {{ syslog_haproxy_facility }}
maxconn {{ haproxy_max_connections }} maxconn {{ haproxy_max_connections }}
nbproc {{ haproxy_processes }} 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) %} {% for cpu_idx in range(0, haproxy_processes) %}
cpu-map {{ cpu_idx + 1 }} {{ cpu_idx }} cpu-map {{ cpu_idx + 1 }} {{ cpu_idx }}
{% endfor %} {% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment