Module - icmp_ping

This module provides for the following ansible plugin:

  • icmp_ping

Module Documentation

Check host connectivity with ICMP ping.

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"