Move ARA install to end of bootstrap
setup_ara sets up the callback plugins variable so as it is now, it gets unset during the role retrieval. This commit moves it to the end of bootstrap so that the ANSIBLE_CALLBACK_PLUGINS is set. Change-Id: I46ceb2acf377e38b2dc31ffc4a82b7945f8dd4c5
This commit is contained in:
parent
93d6e09831
commit
93831a6091
@ -182,11 +182,6 @@ chmod +x /usr/local/bin/openstack-ansible
|
||||
|
||||
echo "openstack-ansible wrapper created."
|
||||
|
||||
# Install and export the ARA callback plugin
|
||||
if [ "${SETUP_ARA}" == "true" ]; then
|
||||
setup_ara
|
||||
fi
|
||||
|
||||
# If the Ansible plugins are in the old location remove them.
|
||||
[[ -d "/etc/ansible/plugins" ]] && rm -rf "/etc/ansible/plugins"
|
||||
|
||||
@ -232,4 +227,9 @@ if [ -f "${ANSIBLE_ROLE_FILE}" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install and export the ARA callback plugin
|
||||
if [ "${SETUP_ARA}" == "true" ]; then
|
||||
setup_ara
|
||||
fi
|
||||
|
||||
echo "System is bootstrapped and ready for use."
|
||||
|
Loading…
Reference in New Issue
Block a user