Documentation

win_ping - A windows version of the classic ping module.

New in version 1.7.

Synopsis

  • Checks management connectivity of a windows host

Options

parameter required default choices comments
data
no pong
Alternate data to return instead of 'pong'

Examples

# Test connectivity to a windows host
# ansible winserver -m win_ping

# Example from an Ansible Playbook
- win_ping:

# Induce a crash to see what happens
- win_ping:
    data: crash

Status

This module is flagged as stableinterface which means that the maintainers for this module guarantee that no backward incompatible interface changes will be made.

Support

This module is maintained by those with core commit privileges

For more information on what this means please read Module Support

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.