diff --git a/linux/base-config-debian/roles/config-fail2ban/tasks/main.yaml b/linux/base-config-debian/roles/config-fail2ban/tasks/main.yaml index 967fd81..a6a1c68 100644 --- a/linux/base-config-debian/roles/config-fail2ban/tasks/main.yaml +++ b/linux/base-config-debian/roles/config-fail2ban/tasks/main.yaml @@ -21,7 +21,7 @@ state: present # when: packages.stdout.find('fail2ban') == "" # when: "{{ packages['fail2ban'] | length }}" - when: "'fail2ban' not defined packages.stdout" + when: "'fail2ban' not defined in packages.stdout" # config fail2ban if is there is in the system #- name: config fail2ban