From bbc6af6749aa4439ba4b23ee60cd5be5999a830f Mon Sep 17 00:00:00 2001 From: Robin Schneider Date: Fri, 7 Oct 2016 10:45:13 +0200 Subject: [PATCH] Fix use of unauthenticated connection examples in git module docs Ref: https://git-scm.com/book/ch4-1.html#The-Git-Protocol --- lib/ansible/modules/source_control/git.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/source_control/git.py b/lib/ansible/modules/source_control/git.py index 1fe8f31669..91bc93cfee 100644 --- a/lib/ansible/modules/source_control/git.py +++ b/lib/ansible/modules/source_control/git.py @@ -200,7 +200,7 @@ notes: EXAMPLES = ''' # Example git checkout from Ansible Playbooks - git: - repo: git://foosball.example.org/path/to/repo.git + repo: 'https://foosball.example.org/path/to/repo.git' dest: /srv/checkout version: release-0.22 @@ -211,14 +211,14 @@ EXAMPLES = ''' # Example just ensuring the repo checkout exists - git: - repo: git://foosball.example.org/path/to/repo.git + repo: 'https://foosball.example.org/path/to/repo.git' dest: /srv/checkout update: no # Example just get information about the repository whether or not it has # already been cloned locally. - git: - repo: git://foosball.example.org/path/to/repo.git + repo: 'https://foosball.example.org/path/to/repo.git' dest: /srv/checkout clone: no update: no