ansible/docs/man/man3/ansible.slurp.3

39 lines
814 B
Groff
Raw Normal View History

2012-10-04 05:31:50 +02:00
.TH ANSIBLE.SLURP 5 "2012-10-03" "0.8" "ANSIBLE MODULES"
." generated from library/slurp
.SH NAME
slurp \- Slurps a file from remote nodes
." ------ DESCRIPTION
.SH DESCRIPTION
.PP
This module works like \fIfetch\fR. It is used for fetching a base64- encoded blob containing the data in a remote file.
." ------ OPTIONS
."
."
.SH OPTIONS
.IP src
The file on the remote system to fetch. This must be a file, not a directory.(required)."
."
." ------ NOTES
.SH NOTES
.PP
See also: \fIfetch\fR
."
."
." ------ EXAMPLES
.SH EXAMPLES
.PP
.nf
ansible host -m slurp -a 'src=/tmp/xx'
host | success >> {
"content": "aGVsbG8gQW5zaWJsZSB3b3JsZAo=",
"encoding": "base64"
}
.fi
." ------- AUTHOR
.SH AUTHOR
Michael DeHaan
.SH SEE ALSO
.IR ansible (1),
.I http://ansible.github.com/modules.html#slurp