Test on fields that exist
This commit is contained in:
parent
5d213cab23
commit
73b7d96501
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@
|
|||
path: "{{ output_dir }}/kreitz.html"
|
||||
register: stat_result
|
||||
|
||||
- name: Assert that the file was not downloaded
|
||||
- name: Assert that the file was downloaded
|
||||
assert:
|
||||
that:
|
||||
- "result.failed == false"
|
||||
- "result.changed == true"
|
||||
- "stat_result.stat.exists == true"
|
||||
|
|
Loading…
Reference in a new issue