diff --git a/tasks/fail2ban.yml b/tasks/fail2ban.yml index cdc03ab..d1bce60 100644 --- a/tasks/fail2ban.yml +++ b/tasks/fail2ban.yml @@ -8,7 +8,7 @@ group: root mode: 0444 notify: systemctl restart fail2ban - when: 'fail2ban' in ansible_facts.packages + when: "'fail2ban' in ansible_facts.packages" - name: Install fail2ban jail become: true @@ -19,4 +19,4 @@ group: root mode: 0444 notify: systemctl restart fail2ban - when: 'fail2ban' in ansible_facts.packages + when: "'fail2ban' in ansible_facts.packages"