From 58236b7159cd4a52372ce1157821d8f952209ecb Mon Sep 17 00:00:00 2001 From: Benjamin Hays Date: Sat, 12 Oct 2024 19:43:58 -0400 Subject: [PATCH] switch to deb pkg of ansible for actions --- .gitea/workflows/ansible-deploy.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/ansible-deploy.yml b/.gitea/workflows/ansible-deploy.yml index f7f2038..3bc63d6 100644 --- a/.gitea/workflows/ansible-deploy.yml +++ b/.gitea/workflows/ansible-deploy.yml @@ -5,7 +5,6 @@ jobs: runs-on: ubuntu-latest env: RUNNER_TOOL_CACHE: /toolcache - ANSIBLE_VERSION: "8.7.0" strategy: matrix: playbook: @@ -26,17 +25,11 @@ jobs: with: submodules: recursive - - name: "Cache python packages" - uses: actions/cache@v3 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-${{ env.ANSIBLE_VERSION }} - - name: Install Ansible run: | + sudo apt-add-repository ppa:ansible/ansible -y apt update -y - apt install python3-pip -y - python3 -m pip install ansible==${{ env.ANSIBLE_VERSION }} + sudo apt install ansible -y #- name: Install Ansible Galaxy requirements # run: |