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:
parent
1f12e41b86
commit
d1c5da9f31
2 changed files with 2 additions and 2 deletions
|
@ -13,4 +13,4 @@
|
|||
loop: "{{ restic_repos|dict2items }}"
|
||||
when:
|
||||
- item.value.init is defined
|
||||
- item.value.init == true
|
||||
- item.value.init
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue