Skip to content

Commit

Permalink
Clarify the apt module force documentation (ansible#37353)
Browse files Browse the repository at this point in the history
The force parameter is inherently insecure.  Be clearer in the
documentation that this is the case.

Fixes ansible#25242

(cherry picked from commit 5bdc8fe)
  • Loading branch information
abadger committed Mar 15, 2018
1 parent 0a2db12 commit b7a9b99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ansible/modules/packaging/os/apt.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
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.'
Expand Down

0 comments on commit b7a9b99

Please sign in to comment.