Add GitHub Action to lint Ansible playbooks

This commit is contained in:
Gene Liverman 2022-06-25 14:27:56 -04:00
parent 347ef17d7e
commit b6c4139be4
No known key found for this signature in database
GPG key ID: 3AF83985B6C857C6
2 changed files with 16 additions and 3 deletions

15
.github/workflows/ansible-lint.yml vendored Normal file
View file

@ -0,0 +1,15 @@
name: Ansible Lint
on:
pull_request:
jobs:
ansbile_linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run ansible-lint
uses: ansible-community/ansible-lint-action@main
with:
path: 'ansible/'