with_items is not actually used here
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
6f915a15a7
commit
e094e36ffd
1 changed files with 2 additions and 6 deletions
|
@ -30,19 +30,15 @@
|
|||
template: src=proxy.vcl.j2 dest=/etc/varnish/default.vcl
|
||||
owner=root group=root
|
||||
when: env != 'staging'
|
||||
with_items:
|
||||
- proxy.vcl
|
||||
notify:
|
||||
- restart varnish
|
||||
tags:
|
||||
- varnish
|
||||
|
||||
- name: install /etc/varnish/default.vcl
|
||||
template: src=proxy.vcl.j2 dest=/etc/varnish/default.vcl
|
||||
- name: install STAGING /etc/varnish/default.vcl
|
||||
template: src=proxy.vcl.stg.j2 dest=/etc/varnish/default.vcl
|
||||
owner=root group=root
|
||||
when: env == 'staging'
|
||||
with_items:
|
||||
- proxy.vcl.stg
|
||||
notify:
|
||||
- restart varnish
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue