See error below. Problem is https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/haproxy/templates/haproxy_main.cfg.j2#L10
TASK [haproxy : Copying over haproxy.cfg] ******************************************************************************************************************************************************************failed: [control04.idc.trendyol.com] (item=/usr/local/share/kolla-ansible/ansible/roles/haproxy/templates/haproxy_main.cfg.j2) => {"ansible_loop_var": "item", "changed": false, "item": "/usr/local/share/kolla-ansible/ansible/roles/haproxy/templates/haproxy_main.cfg.j2", "msg": "AnsibleError: Unexpected templating type error occurred on (global\n chroot /var/lib/haproxy\n user haproxy\n group haproxy\n daemon\n log {{ syslog_server }}:{{ syslog_udp_port }} {{ syslog_haproxy_facility }}\n maxconn {{ haproxy_max_connections }}\n nbproc {{ haproxy_processes }}\n {% if haproxy_processes
> 1 and haproxy_process_cpu_map | bool %}\n {% for cpu_idx in range(0, haproxy_processes) %}\n cpu-map {{ cpu_idx + 1 }} {{ cpu_idx }}\n {% endfor %}\n {% endif %}\n stats socket /var/lib/kolla/haproxy/haproxy.sock group kolla mode 660\n {% if kolla_enable_tls_external | bool %}\n ssl-default-bind-ciphers DEFAULT:!MEDIUM:!3DES\n ssl-default-bind-options no-sslv3 no-tlsv10 no-tlsv11\n tune.ssl.default-dh-param 4096\n {% endif %}\n\ndefaults\n log global\n option redispatch\n retries 3\n timeout http-request {{ haproxy_http_request_timeout }}\n timeout queue {{ haproxy_queue_timeout }}\n timeout connect {{ haproxy_connect_timeout }}\n timeout client {{ haproxy_client_timeout }}\n timeout server {{ haproxy_server_timeout }}\n timeout check {{ haproxy_check_timeout }}\n balance {{ haproxy_defaults_balance }}\n\nlisten stats\n bind {{ api_interface_address }}:{{ haproxy_stats_port }}\n mode http\n stats enable\n stats uri /\n stats
refresh 15s\n stats realm Haproxy\\ Stats\n stats auth {{ haproxy_user }}:{{ haproxy_password }}\n\nfrontend status\n bind {{ api_interface_address }}:{{ haproxy_monitor_port }}\n {% if api_interface_address != kolla_internal_vip_address %}\n bind {{ kolla_internal_vip_address }}:{{ haproxy_monitor_port }}\n {% endif %}\n mode http\n monitor-uri /\n): '>' not supported between instances of 'str' and 'int'"}
Fix proposed to branch: master /review. opendev. org/694058
Review: https:/