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

View File

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