Symlink console_scripts to /usr/local/bin/
This ensures that all installed openstack-ansible related scripts will be available in PATH by symlinking them to /usr/local/bin/ Change-Id: I8c02148e4b76a07c3c544d80bfceb261ae3419e9
This commit is contained in:
@@ -157,7 +157,7 @@ export CURRENT_OSA_VERSION=$(cd ${OSA_CLONE_DIR}; /opt/ansible-runtime/bin/pytho
|
||||
|
||||
# Ensure that Ansible binaries run from the venv
|
||||
pushd /opt/ansible-runtime/bin
|
||||
for ansible_bin in $(ls -1 ansible*); do
|
||||
for ansible_bin in $(ls -1 ansible* openstack-ansible-*); do
|
||||
if [ "${ansible_bin}" == "ansible" ] || [ "${ansible_bin}" == "ansible-playbook" ]; then
|
||||
|
||||
# For the 'ansible' and 'ansible-playbook' commands we want to use our wrapper
|
||||
|
Reference in New Issue
Block a user