You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the provided playbook with the configuration as outlined above.
Expected Behavior
HAProxy should install, the configuration should be copied, without validation errors.
Actual Behavior:
The playbook fails at task "Copy HAProxy configuration in place", error message see above.
Additional Notes
The HAProxy configuration seems to be valid, running haproxy -f /etc/haproxy/haproxy.cfg -c directly on the Ubuntu system does not show any syntax errors.
The text was updated successfully, but these errors were encountered:
My haproxy version is: "HAProxy version 2.8.5-1ubuntu3.1 2024/10/02"
Nov 26 11:50:38 haproxy01 haproxy[14756]: [NOTICE] (14756) : haproxy version is 2.8.5-1ubuntu3.1
Nov 26 11:50:38 haproxy01 haproxy[14756]: [NOTICE] (14756) : path to executable is /usr/sbin/haproxy
Nov 26 11:50:38 haproxy01 haproxy[14756]: [ALERT] (14756) : config : parsing [/etc/haproxy/haproxy.cfg:35] : 'option httpchk' : hiding headers or body at the end of the version string is unsupported>
Nov 26 11:50:38 haproxy01 haproxy[14756]: [ALERT] (14756) : config : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg
Nov 26 11:50:38 haproxy01 haproxy[14756]: [ALERT] (14756) : config : Fatal errors found in configuration.
Nov 26 11:50:38 haproxy01 systemd[1]: haproxy.service: Main process exited, code=exited, status=1/FAILURE
If I create a configuration without the httpchk header everything works fine.
Environment
OS: Ubuntu 24.04
Ansible Environment:
Playbook Used
Error Details
When running the role geerlingguy.haproxy on an Ubuntu 24.04 system, the task Copy HAProxy configuration in place fails with the following message:
Steps to Reproduce
Expected Behavior
HAProxy should install, the configuration should be copied, without validation errors.
Actual Behavior:
The playbook fails at task "Copy HAProxy configuration in place", error message see above.
Additional Notes
The HAProxy configuration seems to be valid, running
haproxy -f /etc/haproxy/haproxy.cfg -c
directly on the Ubuntu system does not show any syntax errors.The text was updated successfully, but these errors were encountered: