apt: clarify allow_unauthenticated docs (#37453)

* apt: clarify allow_unauthenticated docs

* Fix sanity check
This commit is contained in:
Martin Krizek 2018-03-15 10:07:18 +01:00 committed by GitHub
parent 5bdc8fe9f6
commit 995f6c7689
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,6 +70,7 @@ options:
allow_unauthenticated: allow_unauthenticated:
description: description:
- Ignore if packages cannot be authenticated. This is useful for bootstrapping environments that manage their own apt-key setup. - Ignore if packages cannot be authenticated. This is useful for bootstrapping environments that manage their own apt-key setup.
- 'C(allow_unauthenticated) is only supported with state: I(install)/I(present)'
type: bool type: bool
default: 'no' default: 'no'
version_added: "2.1" version_added: "2.1"