Skip to content

Commit bd01ce6

Browse files
committed
Upgrade pip to fix dependency installation error
1 parent 58f9597 commit bd01ce6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tasks/install.yml

+7
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,13 @@
132132
become: true
133133
become_user: "{{ django_system_user }}"
134134

135+
- name: Install a custom pip version
136+
shell: "{{ django_venv_path }}/bin/pip3 install '{{ custom_pip_version }}'"
137+
become: true
138+
become_user: "{{ django_system_user }}"
139+
when:
140+
- custom_pip_version is defined and custom_pip_version != ""
141+
135142
- name: Install Python packages using pip
136143
ansible.builtin.pip:
137144
state: present

0 commit comments

Comments
 (0)