Add ability to disable implementing pip.conf

On something like the repo server we do not want to
change the default pip settings so that we allow
the global pip.conf or default pip settings to do
the right things.

Change-Id: I7bd31f2d89d3fe9d48e32c79ddef7a8ef1392eb7
This commit is contained in:
Jesse Pretorius 2017-11-24 16:53:48 +00:00
parent 4606182b00
commit 5f566318d5
2 changed files with 10 additions and 0 deletions

View File

@ -98,6 +98,13 @@ cache_timeout: 600
# is intercepting the certificates.
pip_validate_certs: "yes"
# Boolean variable to set whether pip.conf should be
# implemented to adjust pip's default behaviour.
# By default we do this, but sometimes we want to
# just let the default pip.conf on the system or
# pip's default settings do their thing.
pip_configure: true
# Options for pip global
pip_enable_pre_releases: true
pip_timeout: 120

View File

@ -25,6 +25,9 @@
- always
- include: configure.yml
static: no
when:
- pip_configure | bool
tags:
- pip_install-install