From 995f6c76899a7aef38fd5524aa0e5aaf4dd8e659 Mon Sep 17 00:00:00 2001 From: Martin Krizek Date: Thu, 15 Mar 2018 10:07:18 +0100 Subject: [PATCH] apt: clarify allow_unauthenticated docs (#37453) * apt: clarify allow_unauthenticated docs * Fix sanity check --- lib/ansible/modules/packaging/os/apt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/packaging/os/apt.py b/lib/ansible/modules/packaging/os/apt.py index 94cc4f1bf1..d1e3d1a733 100644 --- a/lib/ansible/modules/packaging/os/apt.py +++ b/lib/ansible/modules/packaging/os/apt.py @@ -70,6 +70,7 @@ options: allow_unauthenticated: description: - 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 default: 'no' version_added: "2.1"