Let's try a with_first_found here to special case some entries.
This commit is contained in:
parent
2b558a478f
commit
f1b20d1a39
1 changed files with 4 additions and 1 deletions
|
@ -7,11 +7,14 @@
|
||||||
|
|
||||||
- name: Copy in ProxyPassReverse for {{destname}} ({{website}}/{{remotepath}})
|
- name: Copy in ProxyPassReverse for {{destname}} ({{website}}/{{remotepath}})
|
||||||
template: >
|
template: >
|
||||||
src=reversepassproxy.conf
|
src={{item}}
|
||||||
dest=/etc/httpd/conf.d/{{website}}/{{destname}}.conf
|
dest=/etc/httpd/conf.d/{{website}}/{{destname}}.conf
|
||||||
owner=root
|
owner=root
|
||||||
group=root
|
group=root
|
||||||
mode=0644
|
mode=0644
|
||||||
|
with_first_found:
|
||||||
|
- reversepassproxy.{{destname}}.conf
|
||||||
|
- reversepassproxy.conf
|
||||||
notify:
|
notify:
|
||||||
- restart httpd
|
- restart httpd
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue