diff --git a/.lefthook.yml b/.lefthook.yml index 6f9e335..2f7cb2e 100644 --- a/.lefthook.yml +++ b/.lefthook.yml @@ -26,6 +26,7 @@ lint: parallel: true commands: ansible: &ansible-lint + glob: '*ansible*' run: .venv/bin/ansible-lint docker: &hadolint # The official docker image is based on scratch and only takes only one diff --git a/.yamllint.yaml b/.yamllint.yaml index 97b910d..169b3cb 100644 --- a/.yamllint.yaml +++ b/.yamllint.yaml @@ -9,12 +9,12 @@ rules: ignore: - 'cloud-init/*' - 'examples/cloud-init/*' - - 'examples/terraform/multi-part cloud-init/*' + - 'examples/**/multi-part cloud-init/*' document-start: ignore: - 'cloud-init/*' - 'examples/cloud-init/*' - - 'examples/terraform/multi-part cloud-init/*' + - 'examples/**/multi-part cloud-init/*' line-length: level: warning max: 120