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: |