| commit | e0ff0b63aeffa52c68eb48268dfb0fee5b43fb17 | [log] [tgz] |
|---|---|---|
| author | Carlos Frias <carlos.frias.01@gmail.com> | Fri Sep 01 10:56:59 2017 -0400 |
| committer | Carlos Frias <carlos.frias.01@gmail.com> | Fri Sep 01 10:56:59 2017 -0400 |
| tree | c7d4b4ea7013c5f68f98c81cae5e714010fd08a1 | |
| parent | 88b7ccde1ce11d827e52443fb8b035f284bd5315 [diff] |
updated variable state detection logic
diff --git a/tasks/download_files.yml b/tasks/download_files.yml index 8dc505d..733d80d 100644 --- a/tasks/download_files.yml +++ b/tasks/download_files.yml
@@ -9,5 +9,5 @@ with_items: "{{ result.files }}" loop_control: loop_var: file - when: result.matched > 0 and result.files | length > 0 + when: result.matched > 0 and result.files is defined and result.files | length > 0