mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-04 12:22:45 +00:00
Add data test for ping
This commit is contained in:
@@ -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'"
|
||||
|
||||
Reference in New Issue
Block a user