diff options
| author | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2021-10-27 19:16:35 +0000 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2021-10-27 19:17:05 +0000 |
| commit | cd13bde880811f35b7ce1627bc4261f3bf201979 (patch) | |
| tree | e502ac390d4495c6ae25275c6243496646fff3c9 /tools | |
| parent | 0ef7c6ed1cd5563d9cea124435d0dce200c29fb2 (diff) | |
| download | kolla-ansible-cd13bde880811f35b7ce1627bc4261f3bf201979.tar.gz kolla-ansible-cd13bde880811f35b7ce1627bc4261f3bf201979.zip | |
Fix missing Ansible version in the error message
Change-Id: Iefa8f78142c502ac9e8ebdbb95c94b2b05f99e5b
Closes-Bug: #1948979
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/kolla-ansible | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/kolla-ansible b/tools/kolla-ansible index 36c04656f..4b4813777 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 } |
