From d45a7bde8b4089ef7653ae28d7fc280790a34749 Mon Sep 17 00:00:00 2001
From: Georg Krause <mail@georg-krause.net>
Date: Fri, 11 Aug 2023 11:02:58 +0200
Subject: [PATCH] fix: Make sure pip is up-to-date before using it

---
 install.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/install.sh b/install.sh
index 209d7ef..42b3ac8 100755
--- a/install.sh
+++ b/install.sh
@@ -219,6 +219,7 @@ init_ansible() {
     install_packages  curl git python3-pip python3-venv python3-apt python3-psycopg2 sudo locales locales-all
     echo "[2/$total_steps] Installing Ansible..."
     python3 -m venv $ansible_venv_path
+    $ansible_venv_path/bin/pip3 install --upgrade pip
     $ansible_venv_path/bin/pip3 install ansible=="$ansible_version"
 
     echo "[2/$total_steps] Creating ansible configuration files in $ansible_conf_path..."
-- 
GitLab