Commit 4f8abd98 by Jan-Piet Mens

fix and clarify 'script' docs

parent f2893b64
...@@ -4,12 +4,13 @@ DOCUMENTATION = """ ...@@ -4,12 +4,13 @@ DOCUMENTATION = """
module: script module: script
short_description: Runs a local script on a remote node short_description: Runs a local script on a remote node
description: description:
- The command module takes the script name followed by a list of space-delimited arguments. - The M(script) module takes the script name followed by a list of space-delimited arguments.
- The given command will be processed through the shell environment. - The given script will be processed through the shell environment.
- See also the M(command) and M(shell) modules.
options: options:
free_form: free_form:
description: description:
- the command module takes a free form command to run - path to the local script file followed by optional arguments.
required: true required: true
default: null default: null
aliases: [] aliases: []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment