Fix use of unauthenticated connection examples in git module docs

Ref: https://git-scm.com/book/ch4-1.html#The-Git-Protocol
pull/22883/head
Robin Schneider 8 years ago committed by jctanner
parent 6318229bc4
commit bbc6af6749

@ -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

Loading…
Cancel
Save