Install fail2ban only when necessary

This commit is contained in:
phil 2023-04-19 15:30:56 +02:00
parent 77cc1136b7
commit ebe6245523

View file

@ -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