Skip to content

Switch to using linters from apt #55

Switch to using linters from apt

Switch to using linters from apt #55

Workflow file for this run

---
name: Lint Yaml
on: [pull_request, workflow_dispatch]
jobs:
lint:
name: lint
runs-on: ubuntu-26.04
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v4
- name: debug
run: |
dpkg -l |grep python
dpkg -l |grep ansible
ls /usr/bin/python*
whereis ansible
- name: Install linter prequisites
run: |
sudo apt-get update
sudo apt-get install ansible ansible-lint yamllint --yes --no-install-recommends
- name: Run yamllint
run: yamllint .
- name: Run ansible-lint
run: ansible-lint roles/