diff --git a/tools/kolla-ansible b/tools/kolla-ansible index ce642584ed..4322c9cb06 100755 --- a/tools/kolla-ansible +++ b/tools/kolla-ansible @@ -5,7 +5,7 @@ function check_ansible_compatibility { ANSIBLE_VERSION_MIN=2.8 ANSIBLE_VERSION_MAX=2.9 - ANSIBLE_VERSION_HOST=$(ansible --version | head -n1 | egrep -o '[0-9]\.[0-9]+') + ANSIBLE_VERSION_HOST=$(ANSIBLE_DEBUG=0 ansible --version | head -n1 | egrep -o '[0-9]\.[0-9]+') if [[ $(printf "%s\n" "$ANSIBLE_VERSION_MIN" "$ANSIBLE_VERSION_MAX" "$ANSIBLE_VERSION_HOST" | sort -V | head -n1) != "$ANSIBLE_VERSION_MIN" ]] || [[ $(printf "%s\n" "$ANSIBLE_VERSION_MIN" "$ANSIBLE_VERSION_MAX" "$ANSIBLE_VERSION_HOST" | sort -V | tail -1) != "$ANSIBLE_VERSION_MAX" ]]; then