diff --git a/releasenotes/notes/bug-1948979-aaf2a93cc016ffb1.yaml b/releasenotes/notes/bug-1948979-aaf2a93cc016ffb1.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..e90918beab75f10096a96e1a293356dc52343664
--- /dev/null
+++ b/releasenotes/notes/bug-1948979-aaf2a93cc016ffb1.yaml
@@ -0,0 +1,5 @@
+---
+fixes:
+  - |
+    Fixes missing current Ansible version in the error message.
+    `LP#1948979 <https://launchpad.net/bugs/1948979>`__
diff --git a/tools/kolla-ansible b/tools/kolla-ansible
index 36c04656fbcdf123b1de2e0699f65f8d2fd45d29..4b4813777caa4770421aa9d90b43256d740187ae 100755
--- a/tools/kolla-ansible
+++ b/tools/kolla-ansible
@@ -60,7 +60,7 @@ function check_environment_coherence {
 
     if [[ $(printf "%s\n" "$ANSIBLE_VERSION_MIN" "$ANSIBLE_VERSION_MAX" "$ansible_version" | sort -V | head -n1) != "$ANSIBLE_VERSION_MIN" ]] ||
        [[ $(printf "%s\n" "$ANSIBLE_VERSION_MIN" "$ANSIBLE_VERSION_MAX" "$ansible_version" | sort -V | tail -n1) != "$ANSIBLE_VERSION_MAX" ]]; then
-        echo "ERROR: Ansible version should be between $ANSIBLE_VERSION_MIN and $ANSIBLE_VERSION_MAX. Current version is $ANSIBLE_VERSION_HOST which is not supported."
+        echo "ERROR: Ansible version should be between $ANSIBLE_VERSION_MIN and $ANSIBLE_VERSION_MAX. Current version is $ansible_full_version which is not supported."
         exit 1
     fi
 }