changing $HOME to $HOSTNAME in Synopsis (#69273)

$HOME variable does work with command module. This may be a bug. $HOSTNAME never works. Changing the example to use $HOSTNAME in the Synopsis of command module documentation page.
pull/69413/head
rchincholkar 5 years ago committed by GitHub
parent e28e86a428
commit bc1364952b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,7 +22,7 @@ description:
- The C(command) module takes the command name followed by a list of space-delimited arguments. - The C(command) module takes the command name followed by a list of space-delimited arguments.
- The given command will be executed on all selected nodes. - The given command will be executed on all selected nodes.
- The command(s) will not be - The command(s) will not be
processed through the shell, so variables like C($HOME) and operations processed through the shell, so variables like C($HOSTNAME) and operations
like C("*"), C("<"), C(">"), C("|"), C(";") and C("&") will not work. like C("*"), C("<"), C(">"), C("|"), C(";") and C("&") will not work.
Use the M(shell) module if you need these features. Use the M(shell) module if you need these features.
- To create C(command) tasks that are easier to read than the ones using space-delimited - To create C(command) tasks that are easier to read than the ones using space-delimited

Loading…
Cancel
Save