Add seealso section to Windows and related modules (#49845)

* Add seealso section to Windows and related modules

* Fixes after review
This commit is contained in:
Dag Wieers
2018-12-15 03:23:59 +01:00
committed by GitHub
parent 79947245e2
commit 26474c6902
105 changed files with 479 additions and 129 deletions

View File

@@ -74,6 +74,11 @@ notes:
check for the existence of the file and report the correct changed status. If these are not supplied, the task will be skipped.
- The C(executable) parameter is removed since version 2.4. If you have a need for this parameter, use the M(shell) module instead.
- For Windows targets, use the M(win_command) module instead.
seealso:
- module: raw
- module: script
- module: shell
- module: win_command
author:
- Ansible Core Team
- Michael DeHaan

View File

@@ -69,6 +69,9 @@ notes:
- The M(expect) module is designed for simple scenarios. For more complex
needs, consider the use of expect code with the M(shell) or M(script)
modules. (An example is part of the M(shell) module documentation)
seealso:
- module: script
- module: shell
author: "Matt Martz (@sivel)"
'''

View File

@@ -203,6 +203,11 @@ notes:
see U(https://support.microsoft.com/en-us/help/951016/description-of-user-account-control-and-remote-restrictions-in-windows).
- For more information on this module and the various host requirements, see
U(https://github.com/jborean93/pypsexec).
seealso:
- module: raw
- module: win_command
- module: win_psexec
- module: win_shell
author:
- Jordan Borean (@jborean93)
'''

View File

@@ -53,6 +53,11 @@ notes:
which means it only works if C(executable) is set or using the module
with privilege escalation (C(become)).
- This module is also supported for Windows targets.
seealso:
- module: command
- module: shell
- module: win_command
- module: win_shell
author:
- Ansible Core Team
- Michael DeHaan

View File

@@ -47,6 +47,9 @@ notes:
stderr is sent to stdout. If you depend on separated stdout and stderr result keys, please switch to a copy+command set of tasks instead of using script.
- If the path to the local script contains spaces, it needs to be quoted.
- This module is also supported for Windows targets.
seealso:
- module: shell
- module: win_shell
author:
- Ansible Core Team
- Michael DeHaan

View File

@@ -81,6 +81,11 @@ notes:
- An alternative to using inline shell scripts with this module is to use
the M(script) module possibly together with the M(template) module.
- For Windows targets, use the M(win_shell) module instead.
seealso:
- module: command
- module: raw
- module: script
- module: win_shell
author:
- Ansible Core Team
- Michael DeHaan