mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Test on fields that are actually set
This commit is contained in:
parent
73b7d96501
commit
ac14ad1419
1 changed files with 2 additions and 2 deletions
|
@ -121,8 +121,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