feat: add ansible-lint and yamlfmt

This commit is contained in:
2026-06-24 00:32:59 +01:00
parent 71214883fb
commit 687e061b93
14 changed files with 36 additions and 44 deletions
+8
View File
@@ -9,8 +9,16 @@ repos:
args:
- --autofix
- id: trailing-whitespace
- repo: https://github.com/google/yamlfmt
rev: v0.21.0
hooks:
- id: yamlfmt
- repo: https://github.com/tofuutils/pre-commit-opentofu
rev: v2.4.2
hooks:
- id: tofu_validate
- id: tofu_fmt
- repo: https://github.com/ansible/ansible-lint
rev: v26.4.0
hooks:
- id: ansible-lint