diff --git a/roles/ipaclient/tasks/python_2_3_test.yml b/roles/ipaclient/tasks/python_2_3_test.yml
index 59f988122126e30f5a46f2641ac79fd3555c13b0..55204f4212bd566f00dafc3715f2a22006e140da 100644
--- a/roles/ipaclient/tasks/python_2_3_test.yml
+++ b/roles/ipaclient/tasks/python_2_3_test.yml
@@ -1,16 +1,16 @@
 - block:
   - name: Verify Python3 import
     script: py3test.py
-    register: py3test
+    register: result_py3test
     failed_when: False
     changed_when: False
 
   - name: Set python interpreter to 3
     set_fact:
       ansible_python_interpreter: "/usr/bin/python3"
-    when: py3test.rc == 0
+    when: result_py3test.rc == 0
 
   - name: Set python interpreter to 2
     set_fact:
       ansible_python_interpreter: "/usr/bin/python2"
-    when: py3test.failed or py3test.rc != 0
+    when: result_py3test.failed or result_py3test.rc != 0
diff --git a/roles/ipareplica/tasks/python_2_3_test.yml b/roles/ipareplica/tasks/python_2_3_test.yml
index 6830457f21faea9570e031d8a56dbfdad52d004c..b70f3e6292a47ad7078f29f6bee1b5286ce2ab5b 100644
--- a/roles/ipareplica/tasks/python_2_3_test.yml
+++ b/roles/ipareplica/tasks/python_2_3_test.yml
@@ -1,20 +1,20 @@
 - block:
   - name: Verify Python3 import
     script: py3test.py
-    register: py3test
+    register: result_py3test
     failed_when: False
     changed_when: False
 
   - name: Set python interpreter to 3
     set_fact:
       ansible_python_interpreter: "/usr/bin/python3"
-    when: py3test.rc == 0
+    when: result_py3test.rc == 0
 
   - name: Fail for IPA 4.5.90
     fail: msg="You need to install python2 bindings for ipa server usage"
-    when: py3test.rc != 0 and "not usable with python3" in py3test.stdout
+    when: result_py3test.rc != 0 and "not usable with python3" in result_py3test.stdout
 
   - name: Set python interpreter to 2
     set_fact:
       ansible_python_interpreter: "/usr/bin/python2"
-    when: py3test.failed or py3test.rc != 0
+    when: result_py3test.failed or result_py3test.rc != 0
diff --git a/roles/ipaserver/tasks/python_2_3_test.yml b/roles/ipaserver/tasks/python_2_3_test.yml
index 6830457f21faea9570e031d8a56dbfdad52d004c..b70f3e6292a47ad7078f29f6bee1b5286ce2ab5b 100644
--- a/roles/ipaserver/tasks/python_2_3_test.yml
+++ b/roles/ipaserver/tasks/python_2_3_test.yml
@@ -1,20 +1,20 @@
 - block:
   - name: Verify Python3 import
     script: py3test.py
-    register: py3test
+    register: result_py3test
     failed_when: False
     changed_when: False
 
   - name: Set python interpreter to 3
     set_fact:
       ansible_python_interpreter: "/usr/bin/python3"
-    when: py3test.rc == 0
+    when: result_py3test.rc == 0
 
   - name: Fail for IPA 4.5.90
     fail: msg="You need to install python2 bindings for ipa server usage"
-    when: py3test.rc != 0 and "not usable with python3" in py3test.stdout
+    when: result_py3test.rc != 0 and "not usable with python3" in result_py3test.stdout
 
   - name: Set python interpreter to 2
     set_fact:
       ansible_python_interpreter: "/usr/bin/python2"
-    when: py3test.failed or py3test.rc != 0
+    when: result_py3test.failed or result_py3test.rc != 0