Fix haproxy for proxy restarting too

This commit is contained in:
Kevin Fenzi 2016-12-01 22:29:04 +00:00
parent c009217318
commit 7c2f7158d1

View file

@ -4,3 +4,12 @@
tags:
- haproxy
- haproxy/rewrite
when: not inventory_hostname.startswith('proxy')
- template: src=rewrite.conf dest=/etc/httpd/conf.d/{{website}}/haproxy.conf
notify:
- reload proxyhttpd
tags:
- haproxy
- haproxy/rewrite
when: inventory_hostname.startswith('proxy')