Skip to content

Bump ansible-lint from 6.18.0 to 25.1.2 #394

Bump ansible-lint from 6.18.0 to 25.1.2

Bump ansible-lint from 6.18.0 to 25.1.2 #394

Workflow file for this run

---
on:
push:
pull_request:
schedule:
- cron: '33 5 * * 0'
jobs:
Lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Run ansible-lint
uses: ansible/ansible-lint@main
Tests:
name: Test role on different ansible versions
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
ansible:
- "2.14"
- "2.15"
- "2.16"
scenario:
- pdns-47
- pdns-48
- pdns-49
- pdns-master
- pdns-os-repos
- systemd-no-overrides
steps:
- name: checkout
uses: actions/checkout@v4
- name: Install python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Run the tests
run: tox -- molecule test -s ${{ matrix.scenario }}
env:
ANSIBLE: ${{ matrix.ansible }}