CI: Add ansible-lint step
This commit is contained in:
parent
91f1bab8a0
commit
11e328a847
1 changed files with 11 additions and 0 deletions
11
.gitlab-ci.yml
Normal file
11
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
stages:
|
||||||
|
- lint
|
||||||
|
|
||||||
|
ansible-lint:
|
||||||
|
stage: lint
|
||||||
|
image: docker.io/library/fedora:33
|
||||||
|
before_script:
|
||||||
|
- dnf install -y ansible-lint
|
||||||
|
script:
|
||||||
|
- ansible-lint *.yml
|
Loading…
Add table
Reference in a new issue