Merge "Do a fail fast if there are pip install issues"

This commit is contained in:
Zuul 2018-06-20 23:06:30 +00:00 committed by Gerrit Code Review
commit 85909aa67f
1 changed files with 5 additions and 0 deletions

View File

@ -150,6 +150,11 @@ bootstrap () {
fi
popd
)
bootstrap_rc=$?
if [ $bootstrap_rc -ne 0 ]; then
return $bootstrap_rc
fi
# In order to do any filesystem operations on the system running ansible (if it has SELinux intalled)
# we need the python bindings in the venv. Unfortunately, it is not available on pypi, so we need to
# pull it from the system site packages.