diff --git a/tests/scripts/testcases_prepare.sh b/tests/scripts/testcases_prepare.sh
index bfaf65f186909e15a5bde052e85a4bcb375641d2..de36f492fc913d2f5399e98118865f3861b232b9 100755
--- a/tests/scripts/testcases_prepare.sh
+++ b/tests/scripts/testcases_prepare.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 set -euxo pipefail
 
-: ${ANSIBLE_MAJOR_VERSION:=2.10}
+: ${ANSIBLE_MAJOR_VERSION:=2.12}
 
 /usr/bin/python -m pip uninstall -y ansible ansible-base ansible-core
 /usr/bin/python -m pip install -r tests/requirements-${ANSIBLE_MAJOR_VERSION}.txt