diff --git a/hooks.yaml b/hooks.yaml
index 01691a5622d1837709f9de92becd6510ad6b7010..58be96ee17c6dcdd1a208489aba94fe4a3b0aedc 100644
--- a/hooks.yaml
+++ b/hooks.yaml
@@ -2,6 +2,6 @@
 - id: ansible-pre-commit
   name: Check Ansible playbooks
   description: Check Ansible playbooks for syntax errors.
-  langauge: script
+  language: script
   entry: ansible-pre-commit
-  files: \.(sh|bash)$
+  files: \.(yaml|yml)$