From 7a0c28cc3773819eb1c724dc029ff4a11140571b Mon Sep 17 00:00:00 2001 From: Kevin Mooney <30838860+funbuskevin@users.noreply.github.com> Date: Fri, 13 Jul 2018 15:35:23 +0100 Subject: Put umask value in quotation marks (#41409) The given example causes the pip module to fail. If the umask is given as an octal string without quotation marks, the pip module converts it into an integer (i.e., an invalid umask). +label: docsite_pr --- lib/ansible/modules/packaging/language/pip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ansible/modules/packaging/language') diff --git a/lib/ansible/modules/packaging/language/pip.py b/lib/ansible/modules/packaging/language/pip.py index ac73962d02..830c283fa2 100644 --- a/lib/ansible/modules/packaging/language/pip.py +++ b/lib/ansible/modules/packaging/language/pip.py @@ -186,7 +186,7 @@ EXAMPLES = ''' # Install (Bottle) while ensuring the umask is 0022 (to ensure other users can use it) - pip: name: bottle - umask: 0022 + umask: "0022" become: True ''' -- cgit v1.2.1