lets try again

This commit is contained in:
Andreas Zweili 2021-11-15 18:59:35 +01:00
parent 30d9978e50
commit 3b1644013f
1 changed files with 2 additions and 2 deletions

View File

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