create role fail2ban
This commit is contained in:
parent
1673c01d41
commit
e49e94e448
|
@ -22,7 +22,12 @@
|
|||
name: base-config-debian-os
|
||||
tags: base-os_config
|
||||
|
||||
- name: "[NAGIOS NRPE] Install and configure nagios nrpe"
|
||||
- name: "[FAIL2BAN CONFIG] Install and configure fail2ban service"
|
||||
import_role:
|
||||
name: configure-fail2ban
|
||||
tags: fail2ban-config_config
|
||||
|
||||
- name: "[NAGIOS NRPE] Install and configure nagios nrpe service"
|
||||
import_role:
|
||||
name: nagios-nrpe
|
||||
tags: nagios-nrpe_config
|
||||
|
@ -58,6 +63,7 @@ handlers:
|
|||
- create-awx-user-and-config
|
||||
- hardnening-config-root-user
|
||||
- base-config-debian-os
|
||||
- configure-fail2ban
|
||||
- nagios-nrpe
|
||||
- server-type
|
||||
- add-repos-vn
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
|
||||
- hosts: "{{ ip_addr }}"
|
||||
become: yes
|
||||
become_method: sudo
|
||||
gather_facts: no
|
||||
|
||||
tasks:
|
||||
|
||||
- name: "[FAIL2BAN CONFIG] Install and configure fail2ban service"
|
||||
import_role:
|
||||
name: configure-fail2ban
|
Loading…
Reference in New Issue