---
- name: Restart sshd service
  service:
    name: sshd
    state: restarted

- name: Restart fail2ban service
  service:
    name: fail2ban
    state: restarted