fix(fail2ban): Add package cache update

This commit is contained in:
Tanguy Herbron 2023-10-22 12:50:14 +02:00
parent 79b14782fc
commit 2c1968e159

View File

@ -10,6 +10,11 @@
dest: /etc/fail2ban/fail2ban.conf
backup: yes
- name: Update package cache (apt/Debian)
ansible.builtin.apt:
update_cache: yes
when: ansible_distribution == "Debian"
- name: Install fail2ban
ansible.builtin.package:
name: fail2ban