mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Unified document generator and make to generate JSON and JS files
This commit is contained in:
committed by
Michael DeHaan
parent
85fb83a5db
commit
ee679c0190
61
docs/json/git.json
Normal file
61
docs/json/git.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"description": [
|
||||
"Manage git checkouts of repositories to deploy files or software."
|
||||
],
|
||||
"module": "git",
|
||||
"examples": [
|
||||
{
|
||||
"code": "git repo=git://foosball.example.org/path/to/repo.git dest=/srv/checkout version=release-0.22",
|
||||
"description": "Example git checkout from Ansible Playbooks"
|
||||
}
|
||||
],
|
||||
"docuri": "git",
|
||||
"author": "Michael DeHaan",
|
||||
"filename": "library/git",
|
||||
"version_added": "0.0.1",
|
||||
"short_description": "Deploy software (or files) from git checkouts",
|
||||
"now_date": "2012-10-09",
|
||||
"options": {
|
||||
"repo": {
|
||||
"required": true,
|
||||
"description": [
|
||||
"git, ssh, or http protocol address of the git repository."
|
||||
],
|
||||
"aliases": [
|
||||
"name"
|
||||
]
|
||||
},
|
||||
"dest": {
|
||||
"required": true,
|
||||
"description": [
|
||||
"Absolute path of where the repository should be checked out to."
|
||||
]
|
||||
},
|
||||
"version": {
|
||||
"default": "HEAD",
|
||||
"required": false,
|
||||
"description": [
|
||||
"What version of the repository to check out. This can be the git I(SHA), the literal string I(HEAD), branch name, or a tag name."
|
||||
]
|
||||
},
|
||||
"force": {
|
||||
"default": "yes",
|
||||
"required": false,
|
||||
"description": [
|
||||
"(New in 0.7) If yes, any modified files in the working repository will be discarded. Prior to 0.7, this was always 'yes' and could not be disabled."
|
||||
],
|
||||
"choices": [
|
||||
true,
|
||||
false
|
||||
]
|
||||
},
|
||||
"remote": {
|
||||
"default": "origin",
|
||||
"required": false,
|
||||
"description": [
|
||||
"Name of the remote branch."
|
||||
]
|
||||
}
|
||||
},
|
||||
"ansible_version": "0.8"
|
||||
}
|
||||
Reference in New Issue
Block a user