- name: reboot
  reboot:
  when: "'handler' not in ansible_skip_tags"

- name: reload interfaces
  command: ifreload -a
  when: "'handler' not in ansible_skip_tags"

- name: reload postfix
  service:
    name: postfix
    state: reloaded
  when: "'handler' not in ansible_skip_tags"

- name: reload sshd
  service:
    name: sshd
    state: reloaded
  when: "'handler' not in ansible_skip_tags"

- name: update package cache
  package:
    update_cache: yes
  when: "'handler' not in ansible_skip_tags"