- name: Restart fail2ban
service:
name: fail2ban
enabled: true
state: reloaded
- name: Restart sshd
name: sshd