You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/docs/man/man1/ansible.slurp.man

39 lines
814 B
Groff

.TH ANSIBLE.SLURP 5 "2012-10-02" "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