blob: ccbe31d88b6b59b2b181303308defc5a361e1a37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
- hosts: testhost
gather_facts: no
roles:
- foo
tasks:
- name: Use ping from role
ping:
register: result
- assert:
that:
- '"location" in result'
- 'result["location"] == "role: foo"'
|