Clarify that refspec is needed to checkout a git hash (#4564)

fixes #1531
This commit is contained in:
Robin Roth 2016-08-27 09:51:18 -05:00 committed by Michael Scherer
parent 21688383c3
commit 9da4c42679

View file

@ -46,8 +46,9 @@ options:
default: "HEAD"
description:
- What version of the repository to check out. This can be the
full 40-character I(SHA-1) hash, the literal string C(HEAD), a
branch name, or a tag name.
the literal string C(HEAD), a branch name, a tag name.
It can also be a I(SHA-1) hash, in which case C(refspec) needs
to be specified if the given revision is not already available.
accept_hostkey:
required: false
default: "no"