Install fail2ban only when necessary
This commit is contained in:
parent
77cc1136b7
commit
ebe6245523
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
||||||
- name: Fail2ban
|
- name: Fail2ban
|
||||||
ansible.builtin.import_tasks: fail2ban.yml
|
ansible.builtin.import_tasks: fail2ban.yml
|
||||||
tags: fail2ban
|
tags: fail2ban
|
||||||
|
when: postfiy_type == "internet"
|
||||||
|
|
||||||
- name: TLS-helper
|
- name: TLS-helper
|
||||||
ansible.builtin.import_tasks: tls-helper.yml
|
ansible.builtin.import_tasks: tls-helper.yml
|
||||||
|
|
Loading…
Reference in a new issue