feat(actions): Adds actions & lint (#1)
All checks were successful
Master branch: build & lint / build (push) Successful in 1m0s
All checks were successful
Master branch: build & lint / build (push) Successful in 1m0s
Adds an action to perform some linting actions on ansible and the yaml files, both on push onto master and on pull requests Reviewed-on: #1
This commit is contained in:
parent
9dc88072d5
commit
93bb0b0742
18 changed files with 306 additions and 39 deletions
41
.yamllint.yml
Normal file
41
.yamllint.yml
Normal file
|
@ -0,0 +1,41 @@
|
|||
---
|
||||
yaml-files:
|
||||
- '*.yaml'
|
||||
- '*.yml'
|
||||
- '.yamllint'
|
||||
|
||||
ignore:
|
||||
- venv
|
||||
- geerlingguy.docker
|
||||
- geerlingguy.certbot
|
||||
|
||||
rules:
|
||||
anchors: enable
|
||||
braces: enable
|
||||
brackets: enable
|
||||
colons: enable
|
||||
commas: enable
|
||||
comments:
|
||||
level: warning
|
||||
comments-indentation:
|
||||
level: warning
|
||||
document-end: disable
|
||||
document-start:
|
||||
level: warning
|
||||
empty-lines: enable
|
||||
empty-values: disable
|
||||
float-values: disable
|
||||
hyphens: enable
|
||||
indentation: enable
|
||||
key-duplicates: enable
|
||||
key-ordering: disable
|
||||
line-length:
|
||||
max: 160
|
||||
level: warning
|
||||
new-line-at-end-of-file: enable
|
||||
new-lines: enable
|
||||
octal-values: disable
|
||||
quoted-strings: disable
|
||||
trailing-spaces: enable
|
||||
truthy:
|
||||
level: warning
|
Loading…
Add table
Add a link
Reference in a new issue