fix(cicd): fixed ansible version

This commit is contained in:
Sebastian Rust
2026-02-06 10:13:33 +01:00
parent c2c01d704f
commit 6fd080a3bb

View File

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