diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e7ec5d060ab2293754e65f38b204a9325c8a1160..51c3ca9121e7b16f9cbbd001fd53e5c2f10e1e08 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -7,6 +7,7 @@ repos:
     always_run: false
     pass_filenames: true
     files: \.(yaml|yml)$
+    exclude: /env[^/]*.(yaml|yml)$
     entry: |
         env ANSIBLE_LIBRARY=./plugins/modules ANSIBLE_MODULE_UTILS=./plugins/module_utils ANSIBLE_DOC_FRAGMENT_PLUGINS=./plugins/doc_fragments ansible-lint
 - repo: https://github.com/adrienverge/yamllint.git