From 8716ad7348e6552c4c64d6df3e9650a244ab4357 Mon Sep 17 00:00:00 2001 From: Isshi0417 Date: Tue, 7 Jul 2026 07:36:54 +0000 Subject: [PATCH] Install modern Ansible via pip to fix Python 3.12 target compatibility --- .gitea/workflows/deploy.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index ffdd1dd..5c3b3e2 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -16,13 +16,8 @@ jobs: - name: Install ansible run: | apt-get update - apt-get install -y ansible - - - name: Verify SSH key format - run: | - echo "File size: $(wc -c < ~/.ssh/id_ed25519) bytes" - echo "First line: $(head -n 1 ~/.ssh/id_ed25519)" - echo "Last line: $(tail -n 1 ~/.ssh/id_ed25519)" + apt-get install -y python3-pip python3-setuptools + pip3 install ansible - name: Set up SSH private key run: |