From 473bedc5e997b116ee7b80fba5d983d6cbf9beac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sat, 16 Apr 2022 17:55:35 +0200 Subject: [PATCH] add direction --- roles/customfirewall/tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/customfirewall/tasks/main.yaml b/roles/customfirewall/tasks/main.yaml index 481da62..e21e52d 100644 --- a/roles/customfirewall/tasks/main.yaml +++ b/roles/customfirewall/tasks/main.yaml @@ -2,6 +2,7 @@ - name: Apply custom ufw rules community.general.ufw: rule: allow + direction: "in" port: "{{item.port}}" proto: "{{item.proto}}" interface: "{{item.interface}}"