We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d7e738 commit e696278Copy full SHA for e696278
defaults/main.yml
@@ -66,6 +66,7 @@ django_dependency_pip_packages: []
66
67
## pip
68
django_use_regular_old_pip: true
69
+intall_custom_pip_version: false
70
django_pip_paths:
71
- "{{ django_checkout_path }}/requirements.txt"
72
tasks/install.yml
@@ -132,10 +132,12 @@
132
become: true
133
become_user: "{{ django_system_user }}"
134
135
-- name: Downgrade pip
136
- shell: /home/kpi/.virtualenvs/kpi/bin/pip3 install "pip<24.1"
+- name: Install a custom pip version
+ shell: "{{ django_venv_path }}/bin/pip3 install '{{ custom_pip_version }}'"
137
138
139
+ when:
140
+ - intall_custom_pip_version| bool
141
142
- name: Install Python packages using pip
143
ansible.builtin.pip:
0 commit comments