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

Add data test for ping

This commit is contained in:
James Cammarata 2014-02-20 18:00:19 -05:00
parent b02ef611e3
commit 876da62f82

View file

@ -25,3 +25,13 @@
that:
- "result.changed == false"
- "result.ping == 'pong'"
- name: ping with data
ping: data="testing"
register: result
- name: assert the ping worked with data
assert:
that:
- "result.changed == false"
- "result.ping == 'testing'"