1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic_archiver.git synced 2024-08-16 10:09:49 +02:00

do not compare to literal True/False

This commit is contained in:
Matthias Leutenegger 2019-08-15 10:00:45 +02:00
parent 1f12e41b86
commit d1c5da9f31
2 changed files with 2 additions and 2 deletions

View file

@ -13,4 +13,4 @@
loop: "{{ restic_repos|dict2items }}"
when:
- item.value.init is defined
- item.value.init == true
- item.value.init

View file

@ -13,5 +13,5 @@
when:
- item.name is defined
- item.src is defined or item.stdin is defined
- item.src is defined or item.stdin == true and item.stdin_cmd is defined
- item.src is defined or item.stdin and item.stdin_cmd is defined
- item.repo in restic_repos