ansible-haproxy icon indicating copy to clipboard operation
ansible-haproxy copied to clipboard

add tcp-reponse inside backend template

Open unkls opened this issue 4 years ago • 2 comments

Hey !

Thanks a lot for that repository 🙏 !

I've a small request if you can add :

{% for tcp_response_content in backend.tcp_response_content | default([]) %}
  tcp-response content {{ tcp_response_content.action }}{% if tcp_response_content.cond is defined %} {{ tcp_response_content.cond }}{% endif %}

{% endfor %}

Inside the backend.cfg.j2 templates ?

Thanks a lot for your feedback

unkls avatar Nov 08 '21 11:11 unkls

I try to make a branch and a PR but it seems I'm not allowed

unkls avatar Nov 08 '21 11:11 unkls

You need to fork it first :-)

tersmitten avatar Nov 19 '21 11:11 tersmitten