with_items is not actually used here

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-03-10 14:15:46 +00:00
parent 6f915a15a7
commit e094e36ffd

View file

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