generated from the-liberated-edge/wikijs
Added task for linting Ansible code bases
This commit is contained in:
parent
b768252537
commit
1c1ca2759d
@ -176,7 +176,7 @@ task lint-yml
|
||||
Use `ansible-lint` to verify good practices relevant to Ansible.
|
||||
|
||||
```
|
||||
LC_ALL=C.UTF-8 ansible-lint .
|
||||
task lint-ansible
|
||||
```
|
||||
|
||||
## YAML code formatting
|
||||
|
||||
@ -5,3 +5,5 @@ tasks:
|
||||
cmds: [yamlfix .]
|
||||
lint-yml:
|
||||
cmds: [yamllint .]
|
||||
lint-ansible:
|
||||
cmds: [LC_ALL=C.UTF-8 ansible-lint .]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user