Module - icmp_ping

This module provides for the following ansible plugin:

  • icmp_ping

Module Documentation

Check host connectivity with ICMP ping.

Used by node-health and check-network-gateway roles.

Owned by the DFG:DF and DFG:Networking

Options

host

IP address or hostname of host to ping

Authors

Martin Andre (@mandre)

Example Tasks

- icmp: name=somegroup state=present
- hosts: webservers
  tasks:
  - name: Check Internet connectivity
    ping: host="www.ansible.com"