The M(script) module takes the script name followed by a list of space-delimited arguments. ,The local script at path will be transferred to the remote node and then executed. ,The given script will be processed through the shell environment on the remote node. ,This module does not require python on the remote system, much like the M(raw) module.

Options

namedescriptionrequiredchoices
free_form path to the local script file followed by optional arguments. true
creates 1. filename, when it already exists, this step will B(not) be run. no
removes 1. filename, when it does not exist, this step will B(not) be run. no

Author

Ansible Core Team ,Michael DeHaan