Pin python requests when installing docker-compose

New urllib3 and python requests break python docker-compose. Pin
requests back which should use an older urllib3. Hopefully this
fixes docker-compose.

Note this should probably only be used as a temporary workaround. A
more permanent fix should change the way we install docker-compose.

Co-Authored-By: Clark Boylan <cboylan@sapwetik.org>
Change-Id: I69a7ba09f737130a403f0657708877ce986f751c
This commit is contained in:
Jeremy Stanley 2023-05-19 12:54:35 +00:00
parent 0c5c5871fe
commit b8034adb84
1 changed files with 2 additions and 1 deletions

View File

@ -21,8 +21,9 @@
# Run a gerrit
- name: Install docker-compose
package:
pip:
name:
- requests<2.30.0
- docker-compose
state: present
become: true