# {{ ansible_managed }} # Restart fail2ban if systemctl -q is-active fail2ban.service; then systemctl try-restart fail2ban.service fi