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}})
|
||||
template: >
|
||||
src=reversepassproxy.conf
|
||||
src={{item}}
|
||||
dest=/etc/httpd/conf.d/{{website}}/{{destname}}.conf
|
||||
owner=root
|
||||
group=root
|
||||
mode=0644
|
||||
with_first_found:
|
||||
- reversepassproxy.{{destname}}.conf
|
||||
- reversepassproxy.conf
|
||||
notify:
|
||||
- restart httpd
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue