fix and clarify 'script' docs

This commit is contained in:
Jan-Piet Mens 2012-12-14 10:59:48 +01:00
parent 393079d5e4
commit 27f1785b9d

7
script
View file

@ -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: []