ci: move ansible-lint to pre-commit
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index b10d6c8..7ea971d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -4,7 +4,13 @@
     hooks:
       - id: conventional-pre-commit
         stages:
-           - commit-msg
+          - commit-msg
+
+  - repo: https://github.com/ansible-community/ansible-lint
+    rev: v6.6.0
+    hooks:
+      - id: ansible-lint
+        files: \.(yaml|yml)$
 
   - repo: https://github.com/psf/black
     rev: 22.8.0