diff --git a/tools/kolla-ansible b/tools/kolla-ansible index 73d7316f57..fc17f1495d 100755 --- a/tools/kolla-ansible +++ b/tools/kolla-ansible @@ -10,7 +10,7 @@ function find_base_dir { elif [[ ${dir_name} == "/usr/local/bin" ]]; then BASEDIR=/usr/local/share/kolla else - BASEDIR="${dir_name}/.." + BASEDIR="$(dirname ${dir_name})" fi }