generated from the-liberated-edge/wikijs
Added task for linting yml
This commit is contained in:
parent
cb0bdd5670
commit
b768252537
@ -170,7 +170,7 @@ cd test_linux_containers
|
|||||||
Lint all YAML documents.
|
Lint all YAML documents.
|
||||||
|
|
||||||
```
|
```
|
||||||
yamllint .
|
task lint-yml
|
||||||
```
|
```
|
||||||
|
|
||||||
Use `ansible-lint` to verify good practices relevant to Ansible.
|
Use `ansible-lint` to verify good practices relevant to Ansible.
|
||||||
|
|||||||
@ -3,3 +3,5 @@ version: '3'
|
|||||||
tasks:
|
tasks:
|
||||||
format-yml:
|
format-yml:
|
||||||
cmds: [yamlfix .]
|
cmds: [yamlfix .]
|
||||||
|
lint-yml:
|
||||||
|
cmds: [yamllint .]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user