fix(fail2ban): Add package cache update
This commit is contained in:
parent
79b14782fc
commit
2c1968e159
@ -10,6 +10,11 @@
|
|||||||
dest: /etc/fail2ban/fail2ban.conf
|
dest: /etc/fail2ban/fail2ban.conf
|
||||||
backup: yes
|
backup: yes
|
||||||
|
|
||||||
|
- name: Update package cache (apt/Debian)
|
||||||
|
ansible.builtin.apt:
|
||||||
|
update_cache: yes
|
||||||
|
when: ansible_distribution == "Debian"
|
||||||
|
|
||||||
- name: Install fail2ban
|
- name: Install fail2ban
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: fail2ban
|
name: fail2ban
|
||||||
|
Loading…
Reference in New Issue
Block a user