From 2557373cc846e563b5c78b4890a858ce92b5c5de Mon Sep 17 00:00:00 2001 From: Bob Vincent Date: Fri, 30 Nov 2018 16:22:15 -0500 Subject: [PATCH] Do not document buggy behavior. (#49325) In the pip module, umask should be specified as an octal *string*, not an octal (or decimal) *integer*. --- lib/ansible/modules/packaging/language/pip.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/ansible/modules/packaging/language/pip.py b/lib/ansible/modules/packaging/language/pip.py index 5863d770f4f..65923648bb8 100644 --- a/lib/ansible/modules/packaging/language/pip.py +++ b/lib/ansible/modules/packaging/language/pip.py @@ -101,9 +101,6 @@ options: restrictive umask by default (e.g., "0077") and you want to pip install packages which are to be used by all users. Note that this requires you to specify desired umask mode as an octal string, (e.g., "0022"). - Specifying the mode as a decimal integer (e.g., 22) will also work, but - an octal integer (e.g., 0022) will be converted to decimal (18) before - evaluation, which is almost certainly not what was intended. version_added: "2.1" notes: - Please note that virtualenv (U(http://www.virtualenv.org/)) must be