diff --git a/defaults/main.yml b/defaults/main.yml index d8f90de..5cea668 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/tasks/main.yml b/tasks/main.yml index 86a20c9..0766563 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -25,6 +25,9 @@ - always - include: configure.yml + static: no + when: + - pip_configure | bool tags: - pip_install-install