Files
a13labs.infra/ansible/roles/fail2ban/tasks/install_redhat.yml
T

10 lines
258 B
YAML
Raw Normal View History

2024-09-24 15:19:51 +02:00
---
- name: "INSTALL | YUM | Install fail2ban packages"
ansible.builtin.dnf:
name: "{{ item.name }}"
state: "{{ item.state | default('present') }}"
with_items: "{{ fail2ban_packages }}"
become: true
notify:
- "HANDLER | Restart fail2ban"