Make documentation clear about update=no vs clone=no
This commit is contained in:
parent
0a297e54ba
commit
ee324fc3ad
1 changed files with 4 additions and 0 deletions
|
@ -165,6 +165,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
|
||||
'''
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue