1 2 3 4 5 6 7 8 9 10
- hosts: testhost gather_facts: no tasks: - name: Use standard ping module ping: register: result - assert: that: - '"location" not in result'