Преглед изворни кода
Create ansible-lint.yml
avoiding common pitfalls that can easily lead to bugs or make code harder to maintain
pull/1469/head
sakkiii
пре 4 година
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са
19 додато и
0 уклоњено
-
.github/workflows/ansible-lint.yml
|
|
|
@@ -0,0 +1,19 @@ |
|
|
|
name: Ansible Lint |
|
|
|
|
|
|
|
on: [push, pull_request] |
|
|
|
|
|
|
|
jobs: |
|
|
|
build: |
|
|
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
- name: Lint Ansible Playbook |
|
|
|
uses: ansible/ansible-lint-action@master |
|
|
|
with: |
|
|
|
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..) |
|
|
|
targets: "./" |
|
|
|
|
|
|
|
args: "-x metadata, formatting" |