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:
parent
b02ef611e3
commit
876da62f82
1 changed files with 10 additions and 0 deletions
|
@ -25,3 +25,13 @@
|
||||||
that:
|
that:
|
||||||
- "result.changed == false"
|
- "result.changed == false"
|
||||||
- "result.ping == 'pong'"
|
- "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'"
|
||||||
|
|
Loading…
Reference in a new issue