Skip to content

Ansible lint

Ansible lint #98

Workflow file for this run

name: Ansible lint
on:
push:
branches:
- "main"
schedule:
- cron: "0 0 * * 0"
jobs:
ansible-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.13.0"
- name: Install Ansible and ansible-lint
run: |
python -m pip install --upgrade pip
pip install ansible ansible-lint
- name: Install ansible galaxy roles
run: |
ansible-galaxy install -r requirements.yml
- name: Check versions
run: |
python --version
ansible --version
ansible-lint --version
- name: Execute ansible-lint
run: |
make lint