File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -273,25 +273,12 @@ if [[ -f "$CC_ANSIBLE_ENV" ]]; then
273
273
set -a; source " $( realpath " $CC_ANSIBLE_ENV " ) " ; set +a
274
274
fi
275
275
276
- find_kolla_ansible_base_dir () {
277
- kolla_direct_url=" $( find ${VIRTUAL_ENV} /lib/ -wholename ' *kolla_ansible*.dist-info/direct_url.json' -print -quit) "
278
- if test -n " ${kolla_direct_url} " ; then
279
- # Editable install in local path
280
- direct_url=" $( yq eval ' .url' ${kolla_direct_url} ) "
281
- BASEDIR=" ${direct_url# file: \/\/ } "
282
- else
283
- BASEDIR=" ${VIRTUAL_ENV} /share/kolla-ansible"
284
- fi
285
- echo " ${BASEDIR} /ansible"
286
- }
287
-
288
276
# Handle subcommands
289
277
if [[ -n " ${command:- } " ]]; then
290
278
$command " $@ "
291
279
exit $?
292
280
fi
293
281
294
- ansible_path=" $( find_kolla_ansible_base_dir) "
295
282
if [[ -n " ${CC_ANSIBLE_PLAYBOOK:- } " ]]; then
296
283
echo " **********************************************************************"
297
284
echo " * Playbook override detected! This playbook will be executed within *"
You can’t perform that action at this time.
0 commit comments