|
|
@ -200,7 +200,7 @@ notes:
|
|
|
|
EXAMPLES = '''
|
|
|
|
EXAMPLES = '''
|
|
|
|
# Example git checkout from Ansible Playbooks
|
|
|
|
# Example git checkout from Ansible Playbooks
|
|
|
|
- git:
|
|
|
|
- git:
|
|
|
|
repo: git://foosball.example.org/path/to/repo.git
|
|
|
|
repo: 'https://foosball.example.org/path/to/repo.git'
|
|
|
|
dest: /srv/checkout
|
|
|
|
dest: /srv/checkout
|
|
|
|
version: release-0.22
|
|
|
|
version: release-0.22
|
|
|
|
|
|
|
|
|
|
|
@ -211,14 +211,14 @@ EXAMPLES = '''
|
|
|
|
|
|
|
|
|
|
|
|
# Example just ensuring the repo checkout exists
|
|
|
|
# Example just ensuring the repo checkout exists
|
|
|
|
- git:
|
|
|
|
- git:
|
|
|
|
repo: git://foosball.example.org/path/to/repo.git
|
|
|
|
repo: 'https://foosball.example.org/path/to/repo.git'
|
|
|
|
dest: /srv/checkout
|
|
|
|
dest: /srv/checkout
|
|
|
|
update: no
|
|
|
|
update: no
|
|
|
|
|
|
|
|
|
|
|
|
# Example just get information about the repository whether or not it has
|
|
|
|
# Example just get information about the repository whether or not it has
|
|
|
|
# already been cloned locally.
|
|
|
|
# already been cloned locally.
|
|
|
|
- git:
|
|
|
|
- git:
|
|
|
|
repo: git://foosball.example.org/path/to/repo.git
|
|
|
|
repo: 'https://foosball.example.org/path/to/repo.git'
|
|
|
|
dest: /srv/checkout
|
|
|
|
dest: /srv/checkout
|
|
|
|
clone: no
|
|
|
|
clone: no
|
|
|
|
update: no
|
|
|
|
update: no
|
|
|
|