ansible.git(3) - Linux man page
Name
git - Deploy software (or files) from git checkouts
Description
Manage git checkouts of repositories to deploy files or software.
Options
- dest
Absolute path of where the repository should be checked out to.(required)
force
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: yes,no. (default: yes)(Added in Ansible version 0.7.)
remote
Name of the remote. (default: origin)
repo
git, SSH, or HTTP protocol address of the git repository.(required)
- version
- What version of the repository to check out. This can be the git SHA, the literal string HEAD, a branch name, or a tag name. (default: HEAD)."
Examples
Example git checkout from Ansible Playbooks
git: repo=git://foosball.example.org/path/to/repo.git dest=/srv/checkout version=release-0.22
Author
Michael DeHaan
See Also
ansible(1), http://ansible.github.com/modules.html#git