diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index fcfe83952c1585b348480255308d19c2e243ca40..36e74f9c630f9b67084e6bb33995988db413c86e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,12 +1,13 @@
--   repo: git://github.com/pre-commit/pre-commit-hooks
-    sha: cf550fcab3f12015f8676b8278b30e1a5bc10e70
+repos:
+-   repo: https://github.com/pre-commit/pre-commit-hooks
+    rev: v1.4.0
     hooks:
     -   id: check-added-large-files
     -   id: check-yaml
     -   id: check-merge-conflict
     -   id: flake8
 -   repo: https://www.shore.co.il/git/shell-pre-commit/
-    sha: v0.1.0
+    rev: v0.6.0
     hooks:
     -   id: shell-lint
         files: ansible-vault-check
diff --git a/setup.py b/setup.py
index 206d99d7cc4b609a882b029de040a7c68edbc383..f0e4be27bbea09a87e896fbf574d3af7c02238b6 100644
--- a/setup.py
+++ b/setup.py
@@ -7,5 +7,5 @@ setup(
         author='Nimrod Adar',
         author_email='nimrod@shore.co.il',
         version=open('VERSION', 'r').read().strip(),
-        install_requires=['ansible==2.3.1.0'],
+        install_requires=['ansible==2.6.2'],
 )