ansible.builtin.win_ping (v2.3.2.0-1) — module

A windows version of the classic ping module.

| "added in version" 1.7 of ansible.builtin"

Authors: Chris Church (@cchurch)

stableinterface | supported by core

Install Ansible via pip

Install with pip install ansible==2.3.2.0.post1

Description

Checks management connectivity of a windows host

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Test connectivity to a windows host
# ansible winserver -m win_ping

# Example from an Ansible Playbook
- win_ping:
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Induce a crash to see what happens
- win_ping:
    data: crash

Inputs

    
data:
    default: pong
    description:
    - Alternate data to return instead of 'pong'