diff options
author | Jeff Geerling <geerlingguy@mac.com> | 2014-01-27 14:56:52 -0600 |
---|---|---|
committer | Jeff Geerling <geerlingguy@mac.com> | 2014-01-27 14:56:52 -0600 |
commit | 128a2fb461efefbd34186d5bc0a01be7ef7ebe4e (patch) | |
tree | b757c183291547572128c23886552ad7e2dd2b91 /commands | |
parent | 7d133950bd498e50dd26cf13b7ad2c7ce5df1c0b (diff) | |
download | ansible-modules-extras-128a2fb461efefbd34186d5bc0a01be7ef7ebe4e.tar.gz |
Mention shell module in command documentation
Users who use the command module for pretty much all shell commands may be stymied when they try using a command with <, >, $VAR, etc., and not know that they can use the `shell` module instead. This documentation fix clarifies this.
Diffstat (limited to 'commands')
-rw-r--r-- | commands/command | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/command b/commands/command index 0b661b2f..4365daec 100644 --- a/commands/command +++ b/commands/command @@ -34,7 +34,8 @@ description: - The M(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($HOME) and operations - like C("<"), C(">"), C("|"), and C("&") will not work. + like C("<"), C(">"), C("|"), and C("&") will not work (use the M(shell) + module if you need these features). options: free_form: description: |