Fix haproxy for proxy restarting too
This commit is contained in:
parent
c009217318
commit
7c2f7158d1
1 changed files with 9 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue