- name: newaliases
  ansible.builtin.command:
    cmd: newaliases

- name: Test Apache conf
  ansible.builtin.command:
    cmd: apache2ctl -t
  notify: "Reload Apache conf"

- name: reload apache2
  ansible.builtin.service:
    name: apache2
    state: reloaded

- name: apt update
  ansible.builtin.apt:
    update_cache: yes

- name: reload squid3
  ansible.builtin.service:
    name: squid3
    state: reloaded

- name: reload squid
  ansible.builtin.service:
    name: squid
    state: reloaded
