ping.yaml 218 Bytes
Newer Older
Dónal Cunningham's avatar
Dónal Cunningham committed
1
2
---
- name: A play to run the ping module
3
  hosts: debian_hosts
Dónal Cunningham's avatar
Dónal Cunningham committed
4
5
6
7
8
9
  tasks:
  - name: A task to invoke the ping module
    ping:
    register: ping_results
  - name: A task to print the output
    debug: var=ping_results