update fail2ban to nftables

This commit is contained in:
Ruben Blanco 2023-10-26 14:18:17 +02:00
parent f2b6b61840
commit b27343d237
1 changed files with 5 additions and 5 deletions

View File

@ -11,11 +11,11 @@
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# install packages if is not in the system
#- name: install fail2ban package if is not in the system
# apt:
# name: fail2ban
# state: present
# when: "'fail2ban' not in ansible_facts.packages"
- name: install fail2ban package if is not in the system
apt:
name: fail2ban
state: present
# when: "'fail2ban' not in ansible_facts.packages" # ansible comprobes if is ok its installed
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++