Test on fields that are actually set

pull/11090/head
Toshio Kuratomi 9 years ago
parent 73b7d96501
commit ac14ad1419

@ -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…
Cancel
Save