Let's try a with_first_found here to special case some entries.

This commit is contained in:
Ralph Bean 2014-12-08 17:58:51 +00:00
parent 2b558a478f
commit f1b20d1a39

View file

@ -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: