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