diff --git a/VERSION b/VERSION
index 60a2d3e96c80e344efb192a6536f018f6deef60a..8f0916f768f0487bcf8d33827ce2c8dcecb645c1 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.4.0
\ No newline at end of file
+0.5.0
diff --git a/hooks.yaml b/hooks.yaml
index 3097abb4b7add4b2b603ff1656d07bd8fee28a62..593d42e2a9b93ac7af3a17d21b87e326f1c31c39 100644
--- a/hooks.yaml
+++ b/hooks.yaml
@@ -2,9 +2,10 @@
 - id: ansible-syntax-check
   name: Syntax check Ansible playbooks
   description: Check Ansible playbooks for syntax errors.
-  language: script
-  entry: ansible-syntax-check
+  language: python
+  entry: ansible-playbook
   files: playbook.yml
+  args: ['--inventory=localhost,', '--syntax-check']
 - id: ansible-vault-check
   name: Verify vaulted files
   description: Verify that Ansible Vault files are vaulted.
diff --git a/requirements.txt b/requirements.txt
index 27e4edadec6b65f7d52acc21f196cf6274300828..d700ebe1a64351d8b787f13528c28c44413500d2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,3 @@
-ansible==2.2.0.0
-pre-commit==0.9.3
+ansible==2.2.1.0
+pre-commit==0.11.0
 piprot==0.9.7
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000000000000000000000000000000000000..0e5dcfa48d5408ac19492d0d2a2eb888496e2f84
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,8 @@
+from setuptools import setup
+
+
+setup(
+        name='pre_commit_ansible_dummy_package',
+        version='0.1.0',
+        install_requires=['ansible==2.2.1.0'],
+)