Allow umask parameter to pip module install
This commit is contained in:
parent
f748c258b6
commit
a29918cb09
|
@ -16,6 +16,10 @@ Available variables are listed below, along with default values (see `defaults/m
|
|||
|
||||
The name of the packge to install to get `pip` on the system. For older systems that don't have Python 3 available, you can set this to `python-pip`.
|
||||
|
||||
pip_umask: '0022' # Default is to omit the parameter
|
||||
|
||||
The system umask to apply before installing the pip packages.
|
||||
|
||||
pip_executable: pip3
|
||||
|
||||
The role will try to autodetect the pip executable based on the `pip_package` (e.g. `pip` for Python 2 and `pip3` for Python 3). You can also override this explicitly, e.g. `pip_executable: pip3.6`.
|
||||
|
|
|
@ -11,4 +11,5 @@
|
|||
virtualenv: "{{ item.virtualenv | default(omit) }}"
|
||||
state: "{{ item.state | default(omit) }}"
|
||||
executable: "{{ pip_executable }}"
|
||||
umask: "{{ pip_umask | default(omit) }}"
|
||||
with_items: "{{ pip_install_packages }}"
|
||||
|
|
Loading…
Reference in New Issue