mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
39 lines
No EOL
814 B
Groff
39 lines
No EOL
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 |