From 3ed2d8e61a1a126e606bb269b0fce7a0ec77e966 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Thu, 20 Mar 2025 16:57:18 +0100 Subject: [PATCH] logdetective: firewalld isn't installed, use iptables directly --- roles/logdetective/tasks/main.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/roles/logdetective/tasks/main.yml b/roles/logdetective/tasks/main.yml index be020e30ba..d751261a9f 100644 --- a/roles/logdetective/tasks/main.yml +++ b/roles/logdetective/tasks/main.yml @@ -103,7 +103,9 @@ line: 'graphroot = "/mnt/srv/containers_storage"' - name: Allow accessing 8080 from the outside - ansible.posix.firewalld: - port: 8080 - permanent: true - state: enabled + ansible.builtin.iptables: + chain: INPUT + protocol: tcp + destination_ports: + - "8080" + jump: ACCEPT