mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-13 14:19:54 +08:00
16 lines
392 B
YAML
16 lines
392 B
YAML
- template: src=rewrite.conf dest=/etc/httpd/conf.d/{{website}}/haproxy.conf
|
|
notify:
|
|
- reload httpd
|
|
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')
|