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 b768252537 - Show all commits

View File

@ -170,7 +170,7 @@ cd test_linux_containers
Lint all YAML documents.
```
yamllint .
task lint-yml
```
Use `ansible-lint` to verify good practices relevant to Ansible.

View File

@ -3,3 +3,5 @@ version: '3'
tasks:
format-yml:
cmds: [yamlfix .]
lint-yml:
cmds: [yamllint .]