summaryrefslogtreecommitdiff
path: root/commands/shell
diff options
context:
space:
mode:
Diffstat (limited to 'commands/shell')
-rw-r--r--commands/shell8
1 files changed, 5 insertions, 3 deletions
diff --git a/commands/shell b/commands/shell
index 13c6041f..ff57b4d4 100644
--- a/commands/shell
+++ b/commands/shell
@@ -34,9 +34,6 @@ options:
required: false
default: null
version_added: "0.9"
-examples:
- - code: "shell: somescript.sh >> somelog.txt"
- description: Execute the command in remote shell
notes:
- If you want to execute a command securely and predictably, it may be
better to use the M(command) module instead. Best practices when writing
@@ -46,3 +43,8 @@ notes:
requirements: [ ]
author: Michael DeHaan
'''
+
+EXAMPLES = '''
+# Execute the command in remote shell; stdout goes to the specified file on the remote
+- shell: somescript.sh >> somelog.txt
+'''