From a95d592458213401afd1c82ccddab245f7335a51 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Tue, 31 Aug 2021 09:46: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 c69538d..a625181 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -4,7 +4,7 @@ - name: update grub ansible.builtin.command: "{{ grub_update_grub_command }}" when: - - ansible_connection != "docker" + - ansible_connection not in [ "container", "docker", "community.docker.docker" ] notify: - reboot