diff --git a/lefthook.yml b/lefthook.yml index ef3eb12..87bd490 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -24,7 +24,9 @@ pre-commit: - name: "ansible-lint" glob: "**/*.{yml,yaml}" - run: "uv run ansible-lint --profile production --exclude .gitea/ {staged_files}" + exclude: + - ".gitea" + run: "uv run ansible-lint --profile production --offline -- {staged_files}" - name: "gitleaks" run: "gitleaks git --staged"