mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-13 20:49:11 -07:00
Document the 'remote' argument for the git module.
This commit is contained in:
parent
def22a9cf0
commit
769ea7aefc
1 changed files with 4 additions and 0 deletions
|
@ -304,6 +304,10 @@ Deploys software (or files) from git checkouts.
|
||||||
* What version to check out -- either the git SHA, the literal string
|
* What version to check out -- either the git SHA, the literal string
|
||||||
``HEAD``, branch name, or a tag name.
|
``HEAD``, branch name, or a tag name.
|
||||||
|
|
||||||
|
*remote*:
|
||||||
|
|
||||||
|
* Name of the remote branch, defaults to 'origin'.
|
||||||
|
|
||||||
Example action from Ansible :doc:`playbooks`::
|
Example action from Ansible :doc:`playbooks`::
|
||||||
|
|
||||||
git repo=git://foosball.example.org/path/to/repo.git dest=/srv/checkout version=release-0.22
|
git repo=git://foosball.example.org/path/to/repo.git dest=/srv/checkout version=release-0.22
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue