blob: e7c7ee403fc0cbb0db077d49f534b2b9e2afe850 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Expected vars
# - website...
# - localpath..
# - remotepath..
# - proxyurl
# - rewrite
- name: Copy in ProxyPassReverse for {{destname}} ({{website}}{{remotepath}})
template: >
src={{item}}
dest=/etc/httpd/conf.d/{{website}}/{{destname}}.conf
owner=root
group=root
mode=0644
with_first_found:
- "{{roles}}/httpd/reverseproxy/templates/reversepassproxy.{{destname}}.conf"
- "{{roles}}/httpd/reverseproxy/templates/reversepassproxy.conf"
notify:
- restart httpd
tags:
- httpd
- httpd/reverseproxy
- httpd/reversepassproxy
|