1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Test on fields that exist

This commit is contained in:
Toshio Kuratomi 2015-05-28 17:01:18 -07:00
parent 5d213cab23
commit 73b7d96501

View file

@ -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"