Skip to content

Add ansible-lint

Add ansible-lint #47

Workflow file for this run

---
name: Lints
on:
push:
branches:
- '**'
jobs:
Yamllint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run YAML Lint
run: yamllint --strict --format github .
AnsibleLint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'
- name: Run Ansible-lint
run: ansible-lint *.yml