Skip to content

Add ansible-lint

Add ansible-lint #48

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: Install Ansible-lint
run: pip3 install ansible-lint
- name: Run Ansible-lint
run: ansible-lint *.yml