From 7376f1e9cc168779b6415c3950f7f75f88d7d706 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 15 Nov 2021 18:38:58 +0100 Subject: [PATCH] try to fix the conditionals --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index d83e92b..486a0fd 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -56,7 +56,7 @@ export RESTIC_PASSWORD={{ restic_password }} restic backup /home/andreas --exclude-file=/etc/restic/excludes.txt - when: docker_skip_project or "'docker' not in group_names" + when: docker_skip_project is defined or "'docker' not in group_names" - name: "Create the restic config dir" file: