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"