From 5bdc8fe9f66d86cdd45c937bcac58cefc43860cb Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Thu, 15 Mar 2018 01:24:32 -0700 Subject: [PATCH] Clarify the apt module force documentation (#37353) The force parameter is inherently insecure. Be clearer in the documentation that this is the case. Fixes #25242 --- lib/ansible/modules/packaging/os/apt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/modules/packaging/os/apt.py b/lib/ansible/modules/packaging/os/apt.py index 99bc7dc5a0..94cc4f1bf1 100644 --- a/lib/ansible/modules/packaging/os/apt.py +++ b/lib/ansible/modules/packaging/os/apt.py @@ -60,6 +60,8 @@ options: force: description: - 'Corresponds to the C(--force-yes) to I(apt-get) and implies C(allow_unauthenticated: yes)' + - "This option will disable checking both the packages' signatures and the certificates of the + web servers they are downloaded from." - 'This option *is not* the equivalent of passing the C(-f) flag to I(apt-get) on the command line' - '**This is a destructive operation with the potential to destroy your system, and it should almost never be used.** Please also see C(man apt-get) for more information.'