From 072661bd6ad30e99a3df1962d38956b01b3d6418 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Tue, 31 Aug 2021 09:47:29 +0200 Subject: [PATCH] More patterns for Docker. --- handlers/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/main.yml b/handlers/main.yml index eb0e7a3..efab780 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -6,7 +6,7 @@ name: "{{ firewall_service }}" state: reloaded when: - - ansible_connection != "docker" + - ansible_connection not in [ "container", "docker", "community.docker.docker" ] - not ansible_check_mode | bool - name: reload firewalld