From 861f61507bd724b0f1fe1c7cceeb06158e79c857 Mon Sep 17 00:00:00 2001 From: aggarwalakshun Date: Tue, 12 Aug 2025 22:53:22 +0530 Subject: [PATCH] use alpine/ansible image --- .gitea/workflows/playbooks.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/playbooks.yml b/.gitea/workflows/playbooks.yml index 92a642c..1ebff7a 100644 --- a/.gitea/workflows/playbooks.yml +++ b/.gitea/workflows/playbooks.yml @@ -8,13 +8,15 @@ on: jobs: update-packages: runs-on: ubuntu-latest + container: + image: alpine/ansible:2.18.6 + steps: - name: Checkout repository uses: actions/checkout@v4 - name: Setup environment run: | - apt update && apt install -y ansible && \ echo -e "${{ secrets.ANSIBLE_PRIVATE_KEY }}" > /mnt/default-key && \ echo "${{ secrets.ANSIBLE_BECOME_PASS }}" > /mnt/become-pass.txt && \ chmod 600 /mnt/default-key