mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Add GitHub Action to lint Ansible playbooks
This commit is contained in:
parent
347ef17d7e
commit
b6c4139be4
2 changed files with 16 additions and 3 deletions
15
.github/workflows/ansible-lint.yml
vendored
Normal file
15
.github/workflows/ansible-lint.yml
vendored
Normal 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/'
|
||||
Loading…
Add table
Add a link
Reference in a new issue