diff --git a/ansible/roles/gateway/tasks/fail2ban.yml b/ansible/roles/gateway/tasks/fail2ban.yml index 0641b6b..329e78c 100644 --- a/ansible/roles/gateway/tasks/fail2ban.yml +++ b/ansible/roles/gateway/tasks/fail2ban.yml @@ -19,7 +19,7 @@ - name: Restart fail2ban service: - name: haproxy + name: fail2ban state: restarted become: true when: fail2ban_filter.changed or fail2ban_jail.changed