diff --git a/README.md b/README.md index 013b25b..260965d 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/Taskfile.yml b/Taskfile.yml index a97c0ed..a25c23b 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -3,3 +3,5 @@ version: '3' tasks: format-yml: cmds: [yamlfix .] + lint-yml: + cmds: [yamllint .]