---

- name: Rsyslogd restart
  ansible.builtin.systemd:
    name: rsyslog
    state: restarted

- name: Varnish reload
  ansible.builtin.systemd:
    name: varnish
    state: reloaded

- name: Varnish restart
  ansible.builtin.systemd:
    name: varnish
    daemon_reload: true
    state: restarted

- name: Varnishncsa restart
  ansible.builtin.systemd:
    name: "varnishncsa-{{ item }}"
    daemon_reload: true
    state: restarted
  with_items: "{{ varnishncsa_custom_items }}"
