11 lines
216 B
YAML
11 lines
216 B
YAML
- hosts: testhost
|
|
gather_facts: no
|
|
tasks:
|
|
- name: Use ping from library path
|
|
ping:
|
|
register: result
|
|
|
|
- assert:
|
|
that:
|
|
- '"location" in result'
|
|
- 'result["location"] == "library"'
|