From 5c090207ff4684d91c9d255a4b13e8de14cce14f Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Fri, 19 Dec 2014 08:55:41 -0800 Subject: [PATCH] Make documentation clear about update=no vs clone=no --- lib/ansible/modules/source_control/git.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ansible/modules/source_control/git.py b/lib/ansible/modules/source_control/git.py index dbea32d7d60..968ae77bcd1 100644 --- a/lib/ansible/modules/source_control/git.py +++ b/lib/ansible/modules/source_control/git.py @@ -176,6 +176,10 @@ EXAMPLES = ''' - git: repo=ssh://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 + +# 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 dest=/srv/checkout clone=no update=no # Example checkout a github repo and use refspec to fetch all pull requests