ansible-haproxy
ansible-haproxy copied to clipboard
Fix log-format in templates
I have a feeling this is on purpose
I see no quotes at all in the template(s)
The documentation should probably be:
e.g. `'"%{+Q}o\ %t\ %s\ %{-Q}r"'`
Similar to:
tcp_check:
- 'send stats\r\n'
- 'expect rstring "STAT pid [0-9]+"'
- 'send quit\r\n'
But I understand that this is not super intuitive
@tersmitten We could add more quotes in the templates. ;)
Yes, but this will break existing installations and there's a workaround
@tersmitten Something for 7.* or do you prefer to keep it this way?
Something for 7.* Yes
But if I can find the time I prefer to make the role more like this one: https://github.com/Oefenweb/ansible-nginx#examples
"Raw" configuration is way more flexible and easier to maintain
The documentation should probably be:
e.g. `'"%{+Q}o\ %t\ %s\ %{-Q}r"'`
Yes, in: https://github.com/Oefenweb/ansible-haproxy/pull/106