pip was not exposed to root user, add steps
Build and Publish Docker Image / Build and Push Docker Image (push) Successful in 2m54s Details

This commit is contained in:
Isaac Johnson 2026-10-06 06:58:26 -05:00
parent da4b1eb731
commit 75b4f62463
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@
# ------------------------------------------------------------- # -------------------------------------------------------------
- name: Ensure uptime-kuma-api Python library is installed locally - name: Ensure uptime-kuma-api Python library is installed locally
ansible.builtin.shell: | ansible.builtin.shell: |
apt update
apt install python3-pip -y
python3 -m pip install --user uptime-kuma-api --break-system-packages python3 -m pip install --user uptime-kuma-api --break-system-packages
python3 -m pip install uptime-kuma-api --break-system-packages python3 -m pip install uptime-kuma-api --break-system-packages
register: pip_install register: pip_install