1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/docs/json/slurp.json

32 lines
No EOL
942 B
JSON

{
"requirements": [],
"description": [
"This module works like M(fetch). It is used for fetching a base64- encoded blob containing the data in a remote file."
],
"author": "Michael DeHaan",
"notes": [
"See also: M(fetch)"
],
"module": "slurp",
"filename": "library/slurp",
"examples": [
{
"code": "ansible host -m slurp -a 'src=/tmp/xx'\n host | success >> {\n \"content\": \"aGVsbG8gQW5zaWJsZSB3b3JsZAo=\", \n \"encoding\": \"base64\"\n }\n",
"description": "Example using C(/usr/bin/ansible)"
}
],
"docuri": "slurp",
"short_description": "Slurps a file from remote nodes",
"now_date": "2012-10-09",
"options": {
"src": {
"default": null,
"required": true,
"description": [
"The file on the remote system to fetch. This must be a file, not a directory."
],
"aliases": []
}
},
"ansible_version": "0.8"
}