diff --git a/tasks/configure.yml b/tasks/configure.yml index 9e6fbce..1b67585 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -13,4 +13,4 @@ loop: "{{ restic_repos|dict2items }}" when: - item.value.init is defined - - item.value.init == true + - item.value.init diff --git a/tasks/distribution/Linux.yml b/tasks/distribution/Linux.yml index f4a58d3..451a015 100644 --- a/tasks/distribution/Linux.yml +++ b/tasks/distribution/Linux.yml @@ -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