summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/windows/win_command.py
diff options
context:
space:
mode:
authorDag Wieers <dag@wieers.com>2017-02-13 15:02:34 +0100
committerJohn R Barker <john@johnrbarker.com>2017-02-13 14:02:34 +0000
commitf824b2ce8d8436891feda888fb16a25e449dc87a (patch)
tree53d7eca54e4b1be4369a4fd7a209e01572b2556a /lib/ansible/modules/windows/win_command.py
parentfb32c19feacc386aeb6ec1b8c6e01cb0d5793771 (diff)
downloadansible-f824b2ce8d8436891feda888fb16a25e449dc87a.tar.gz
Avoid having module documentation links to itself (#21329)
* Avoid having module documentation links to itself A lot of modules use M(own_module) in their documentation causing a link in the documentation to itself. * Make note more clear now
Diffstat (limited to 'lib/ansible/modules/windows/win_command.py')
-rw-r--r--lib/ansible/modules/windows/win_command.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/modules/windows/win_command.py b/lib/ansible/modules/windows/win_command.py
index d528137550..6939b93a54 100644
--- a/lib/ansible/modules/windows/win_command.py
+++ b/lib/ansible/modules/windows/win_command.py
@@ -29,7 +29,7 @@ module: win_command
short_description: Executes a command on a remote Windows node
version_added: 2.2
description:
- - The M(win_command) module takes the command name followed by a list of space-delimited arguments.
+ - The C(win_command) module takes the command name followed by a list of space-delimited arguments.
- The given command will be executed on all selected nodes. It will not be
processed through the shell, so variables like C($env:HOME) and operations
like C("<"), C(">"), C("|"), and C(";") will not work (use the M(win_shell)
@@ -52,7 +52,7 @@ options:
notes:
- If you want to run a command through a shell (say you are using C(<),
C(>), C(|), etc), you actually want the M(win_shell) module instead. The
- M(win_command) module is much more secure as it's not affected by the user's
+ C(win_command) module is much more secure as it's not affected by the user's
environment.
- " C(creates), C(removes), and C(chdir) can be specified after the command. For instance, if you only want to run a command if a certain file does not exist, use this."
author: