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: