diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 1a0588d..30d661b 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -8,21 +8,25 @@ on: - 'roles/**' workflow_dispatch: +env: + ANSIBLE_BUNDLER_VERSION: "1.10.2" + jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 - - name: Install Python + - name: Install ansible-bundler run: | - apt-get update && apt-get install -y python3 python3-pip python3-venv + curl -fsSL "https://github.com/kriansa/ansible-bundler/releases/download/v${ANSIBLE_BUNDLER_VERSION}/ansible-bundler_${ANSIBLE_BUNDLER_VERSION}_amd64.deb" -o /tmp/ansible-bundler.deb + sudo dpkg -i /tmp/ansible-bundler.deb - - name: Install dependencies + - name: Install Python dependencies run: | python3 -m venv .venv - .venv/bin/pip install ansible ansible-bundler + .venv/bin/pip install ansible echo "$PWD/.venv/bin" >> $GITHUB_PATH - name: Verify playbook syntax