2023-10-17 13:10:41 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- hosts: "{{ ip_addr }}"
|
|
|
|
become: yes
|
|
|
|
become_method: sudo
|
2023-10-18 12:24:17 +00:00
|
|
|
gather_facts: yes
|
2023-10-17 13:10:41 +00:00
|
|
|
|
|
|
|
tasks:
|
|
|
|
|
2023-10-18 10:26:07 +00:00
|
|
|
- name: "[CONFIG FAIL2BAN] Install and configure fail2ban service"
|
2023-10-17 13:10:41 +00:00
|
|
|
import_role:
|
2023-10-18 10:26:07 +00:00
|
|
|
name: config-fail2ban
|