This commit is contained in:
Ruben Blanco 2023-10-18 16:07:39 +02:00
parent 1e543edfb2
commit 2975fbc3fc
1 changed files with 1 additions and 1 deletions

View File

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