From ebe62455239319b8e032f50461cd2f1a7f4e9d52 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 19 Apr 2023 15:30:56 +0200 Subject: [PATCH] Install fail2ban only when necessary --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index ef61c59..227bff2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -23,6 +23,7 @@ - name: Fail2ban ansible.builtin.import_tasks: fail2ban.yml tags: fail2ban + when: postfiy_type == "internet" - name: TLS-helper ansible.builtin.import_tasks: tls-helper.yml