Unified document generator and make to generate JSON and JS files

This commit is contained in:
Marco Vito Moscaritolo
2012-10-09 22:04:55 +02:00
committed by Michael DeHaan
parent 85fb83a5db
commit ee679c0190
51 changed files with 5969 additions and 9 deletions

37
docs/json/fetch.json Normal file
View File

@@ -0,0 +1,37 @@
{
"requirements": [],
"description": [
"This module works like M(copy), but in reverse. It is used for fetching files from remote machines and storing them locally in a file tree, organized by hostname."
],
"author": "Michael DeHaan",
"docuri": "fetch",
"module": "fetch",
"filename": "library/fetch",
"examples": [
{
"code": "fetch src=/var/log/messages dest=/home/logtree",
"description": "Example from Ansible Playbooks"
}
],
"version_added": "0.2",
"short_description": "Fetches a file from remote nodes",
"now_date": "2012-10-09",
"options": {
"dest": {
"default": null,
"required": true,
"description": [
"A directory to save the file into. For example, if the I(dest) directory is C(/backup) a src file named C(/etc/profile) on host C(host.example.com), would be saved into C(/backup/host.example.com/etc/profile)"
]
},
"src": {
"default": null,
"required": true,
"description": [
"The file on the remote system to fetch. This must be a file, not a directory. Recursive fetching may be supported in a later release."
],
"aliases": []
}
},
"ansible_version": "0.8"
}