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.

Change-Id: Ib28a42c033aeccb6a13f179bb5e06e80304de528
This commit is contained in:
Clark Boylan 2023-05-03 10:27:12 -07:00
parent 9f9e86abd5
commit 4c4c499b8a
2 changed files with 8 additions and 1 deletions

View File

@ -111,5 +111,10 @@
shell:
cmd: docker image prune -f
- name: Wait for grafana to be up and running
wait_for:
timeout: 60
port: 3000
- name: Import dashboards to container
command: '/usr/local/bin/update-grafana-dashboards'

View File

@ -40,7 +40,9 @@
- name: Install docker-compose
pip:
name: docker-compose
name:
- requests<2.30.0
- docker-compose
state: present
executable: pip3