mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 16:23:10 +00:00
61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
{
|
|
"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"
|
|
} |