mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Windows: Add missing parameter types and doc fixes (#50232)
* Windows: Add missing parameter types and doc fixes This PR includes: - Adding missing parameter types - Various documentation fixes * Update lib/ansible/modules/windows/win_copy.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_credential.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_domain_computer.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_domain_user.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_environment.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_psexec.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_uri.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_wait_for.py Co-Authored-By: dagwieers <dag@wieers.com> * Ensure docstrings are raw strings
This commit is contained in:
parent
f80ce60cf9
commit
d863027159
92 changed files with 982 additions and 716 deletions
|
@ -26,10 +26,8 @@ options:
|
|||
description:
|
||||
- Alternate data to return instead of 'pong'.
|
||||
- If this parameter is set to C(crash), the module will cause an exception.
|
||||
type: str
|
||||
default: pong
|
||||
notes:
|
||||
- For non-Windows targets, use the M(ping) module instead.
|
||||
- For Network targets, use the M(net_ping) module instead.
|
||||
seealso:
|
||||
- module: ping
|
||||
author:
|
||||
|
@ -40,17 +38,17 @@ EXAMPLES = r'''
|
|||
# Test connectivity to a windows host
|
||||
# ansible winserver -m win_ping
|
||||
|
||||
# Example from an Ansible Playbook
|
||||
- win_ping:
|
||||
- name: Example from an Ansible Playbook
|
||||
win_ping:
|
||||
|
||||
# Induce an exception to see what happens
|
||||
- win_ping:
|
||||
- name: Induce an exception to see what happens
|
||||
win_ping:
|
||||
data: crash
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
RETURN = r'''
|
||||
ping:
|
||||
description: value provided with the data parameter
|
||||
description: Value provided with the data parameter.
|
||||
returned: success
|
||||
type: str
|
||||
sample: pong
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue