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 Matt Clay
parent 338a8c8632
commit ccddeb8cdc

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"