diff --git a/ansible/roles/prechecks/tasks/package_checks.yml b/ansible/roles/prechecks/tasks/package_checks.yml
index 15500d294ef0b8db093fe5de5b8d8efa22fd9638..5c927e63e4be09c0ce6d85b8ae946ea8298cae13 100644
--- a/ansible/roles/prechecks/tasks/package_checks.yml
+++ b/ansible/roles/prechecks/tasks/package_checks.yml
@@ -4,3 +4,8 @@
   register: result
   failed_when: result | failed or
                result.stdout | version_compare(docker_py_version_min, '<')
+
+- name: Checking Ansible version
+  local_action: command ansible --version
+  register: result
+  failed_when: result.stdout | regex_replace('ansible (\\d+\\.\\d+\\.\\d+)', '\\1') | version_compare(ansible_version_max, '>=')
diff --git a/ansible/roles/prechecks/vars/main.yml b/ansible/roles/prechecks/vars/main.yml
index ada1bca7be9185cabef66eee2cdf050092db0a0b..3489b67cb5ad9adf99746f0358a9231f4d8cfeb2 100644
--- a/ansible/roles/prechecks/vars/main.yml
+++ b/ansible/roles/prechecks/vars/main.yml
@@ -1,2 +1,3 @@
 docker_version_min: '1.9.0'
 docker_py_version_min: '1.6.0'
+ansible_version_max: '2.0.0'