ANSIBLE.SLURP(3)

NAME
slurp - Slurps a file from remote nodes

DESCRIPTION

This module works like fetch. It is used for fetching a base64- encoded blob containing the data in a remote file.

OPTIONS

src The file on the remote system to fetch. This must be a file, not a directory.(required)."

NOTES

See also: fetch

EXAMPLES

Example using /usr/bin/ansible
ansible host -m slurp -a 'src=/tmp/xx'
    host | success >> {
       "content": "aGVsbG8gQW5zaWJsZSB3b3JsZAo=",
       "encoding": "base64"
    }
None

AUTHOR
Michael DeHaan

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