This commit is contained in:
Ruben Blanco 2023-10-18 15:25:42 +02:00
parent 88f3df0ca0
commit d4b51007f7
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@
apt:
name: fail2ban
state: present
when: packages.stdout.find('fail2ban') == ""
# when: packages.stdout.find('fail2ban') == ""
# when: "{{ packages['fail2ban'] | length }}"
when: "'fail2ban' not defined packages.stdout"
# config fail2ban if is there is in the system
#- name: config fail2ban