---

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

- name: restart apache2
  ansible.builtin.service:
    name: apache2
    state: restarted

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