mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
win_ping: Make full-functional
Small cleanup and backport `ping` functionality.
This commit is contained in:
@@ -36,9 +36,7 @@ options:
|
||||
data:
|
||||
description:
|
||||
- Alternate data to return instead of 'pong'
|
||||
required: false
|
||||
default: 'pong'
|
||||
aliases: []
|
||||
author: "Chris Church (@cchurch)"
|
||||
'''
|
||||
|
||||
@@ -47,6 +45,10 @@ EXAMPLES = r'''
|
||||
ansible winserver -m win_ping
|
||||
|
||||
# Example from an Ansible Playbook
|
||||
- action: win_ping
|
||||
- win_ping:
|
||||
|
||||
# Induce a crash to see what happens
|
||||
- win_ping:
|
||||
data: crash
|
||||
'''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user