1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic.git synced 2024-12-11 23:41:32 +01: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 }}" loop: "{{ restic_repos|dict2items }}"
when: when:
- item.value.init is defined - item.value.init is defined
- item.value.init == true - item.value.init

View file

@ -13,5 +13,5 @@
when: when:
- item.name is defined - item.name is defined
- item.src is defined or item.stdin 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 - item.repo in restic_repos