mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #2066 from lorin/git-example
Add example of read-write git checkout via ssh
This commit is contained in:
commit
81d426de2a
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ options:
|
||||||
examples:
|
examples:
|
||||||
- code: "git: repo=git://foosball.example.org/path/to/repo.git dest=/srv/checkout version=release-0.22"
|
- 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
|
description: Example git checkout from Ansible Playbooks
|
||||||
|
- code: "git: repo=ssh://git@github.com/mylogin/hello.git dest=/home/mylogin/hello"
|
||||||
|
description: Example read-write git checkout from github
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
|
Loading…
Reference in a new issue