i-3 Introduce a new task to automate linting from command line #14

Merged
emil merged 4 commits from i-3-automate-linters into main 2024-03-02 01:37:00 +00:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 1c1ca2759d - Show all commits

View File

@ -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

View File

@ -5,3 +5,5 @@ tasks:
cmds: [yamlfix .]
lint-yml:
cmds: [yamllint .]
lint-ansible:
cmds: [LC_ALL=C.UTF-8 ansible-lint .]