summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/packaging/language
diff options
context:
space:
mode:
authorKevin Mooney <30838860+funbuskevin@users.noreply.github.com>2018-07-13 15:35:23 +0100
committerZhikang Zhang <zzhang63@ncsu.edu>2018-07-13 10:35:23 -0400
commit7a0c28cc3773819eb1c724dc029ff4a11140571b (patch)
tree6cf8bef79c1e7a66b1ed3eb32b4b8294571954cc /lib/ansible/modules/packaging/language
parent7e97380664f5623b11c11fd7527783620f8574e2 (diff)
downloadansible-7a0c28cc3773819eb1c724dc029ff4a11140571b.tar.gz
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
Diffstat (limited to 'lib/ansible/modules/packaging/language')
-rw-r--r--lib/ansible/modules/packaging/language/pip.py2
1 files changed, 1 insertions, 1 deletions
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
'''