From 0cf3cfbf5a5bb649f8074f34310db8f50f90a231 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Fri, 28 Nov 2014 23:19:33 -0500 Subject: [PATCH] git doc: don't prepend ssh:// for ssh repo The github ssh example has ssh:// at the beginning of the url. However, this doesn't work. It does work if the ssh:// is removed. --- lib/ansible/modules/source_control/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/source_control/git.py b/lib/ansible/modules/source_control/git.py index ce81088057e..d896973d18a 100644 --- a/lib/ansible/modules/source_control/git.py +++ b/lib/ansible/modules/source_control/git.py @@ -155,7 +155,7 @@ EXAMPLES = ''' version=release-0.22 # Example read-write git checkout from github -- git: repo=ssh://git@github.com/mylogin/hello.git dest=/home/mylogin/hello +- git: repo=git@github.com/mylogin/hello.git dest=/home/mylogin/hello # Example just ensuring the repo checkout exists - git: repo=git://foosball.example.org/path/to/repo.git dest=/srv/checkout update=no