From 4b9dd435876ec4dd2289c27bbe179a20bd84d866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20H=C3=A4hnel?= Date: Tue, 17 Oct 2023 11:15:56 +0000 Subject: [PATCH] DEV-2563 BUGFIX: Skip firewall apply if no customer firewall networks set --- roles/connect/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/connect/tasks/main.yml b/roles/connect/tasks/main.yml index 20f58c4..a8ca66d 100644 --- a/roles/connect/tasks/main.yml +++ b/roles/connect/tasks/main.yml @@ -64,6 +64,8 @@ - update_deployment - name: "Setup customer specific firewall rules for <{{ inventory_hostname }}>" + when: + - connect_customer_firewall_entry_rules | length > 0 block: - name: "Configure customer specific firewall rules for <{{ inventory_hostname }}>" ansible.builtin.set_fact: