ome / ansible-role-haproxy

Ansible Role - HAProxy
https://galaxy.ansible.com/ome/haproxy/
MIT License
9 stars 17 forks source link

Extract configuration default options and timeouts settings into variables #16

Closed touchardv closed 5 years ago

touchardv commented 6 years ago

Hello,

This pull request makes it possible for users of the role to override the default HAproxy options and timeouts (section "defaults" of the configuration file). Not much is changed but extracting the hardcoded values into variables.

Vincent

touchardv commented 5 years ago

Since there are only three timeout options Well, I believe there are more than that: if I read this I see there are many more: timeout http-keep-alive, timeout queue, etc. Clearly the three you mentioned are the basis, but there are some other useful options.