add conditional
This commit is contained in:
parent
eb9751aa7a
commit
9b0ff1ca8f
|
@ -2,6 +2,10 @@
|
|||
# Install and configure FAIL2BAN
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
- name: "[CONFIG FAIL2BAN] Comprobando si es necesario configurar fail2ban "
|
||||
meta: end_host
|
||||
when: fail2ban_enabled is not defined or not fail2ban_enabled
|
||||
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# comprobe if fail2ban is installed if not then install fail2ban
|
||||
# Gather the package facts
|
||||
|
|
Loading…
Reference in New Issue