ANSIBLE.SCRIPT(3)

NAME
script - Runs a local script on a remote node after transferring it

DESCRIPTION

The script module takes the script name followed by a list of space-delimited arguments.

The local script at path will be transfered 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 raw module.

OPTIONS

free_form
    path to the local script file followed by optional arguments.(required).

NOTES

It is usually preferable to write Ansible modules than pushing scripts. Convert your script to an Ansible module for bonus points!

EXAMPLES
# Example from Ansible Playbooks
- script: /some/local/script.sh --some-arguments 1234

AUTHOR
Michael DeHaan

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#script