mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 14:03:02 +08:00
with_items is not actually used here
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user