the conditionals are still wrong

This commit is contained in:
Andreas Zweili 2021-11-15 18:54:20 +01:00
parent 7376f1e9cc
commit 30d9978e50
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,8 @@
export RESTIC_PASSWORD={{ restic_password }}
restic backup /home/andreas --exclude-file=/etc/restic/excludes.txt
when: docker_skip_project is defined or "'docker' not in group_names"
when: (docker_skip_project is defined and "'docker' in group_names") or
("'docker' not in group_names")
- name: "Create the restic config dir"
file: