---
- apt:
    state: latest
    pkg: "{{ item }}"
  with_items:
  - varnish
  tags:
  - varnish

- template:
    src: "{{ item }}"
    dest: "/{{ item }}"
    owner: root
    group: staff
    mode: 0664
  with_items:
  - etc/default/varnish
  - etc/varnish/default.vcl
  notify: service | varnish | reloaded
  tags:
    - varnish

---
- apt:
    state: latest
    pkg: "{{ item }}"
  with_items:
  - varnish
  tags:
  - varnish

- template:
    src: "{{ item }}"
    dest: "/{{ item }}"
    owner: root
    group: staff
    mode: 0664
  with_items:
  - etc/default/varnish
  - etc/varnish/default.vcl
  notify: service | varnish | restarted
  tags:
    - varnish

Change reloaded to restarted in handler.
Change reloaded to restarted in handler.
