Skip to content

Commit

Permalink
Load extra variables correctly in wrapper
Browse files Browse the repository at this point in the history
The extra variables are meant to be loaded contextually if ansible
or ansible-playbook are executed in the OSA playbooks dir, or if the
openstack-ansible wrapper is explicitly called.

This is occurring correctly for openstack-ansible and ansible-playbook,
but extra vars are not being loaded correctly (despite being output
to console as if they're being loaded) when ad-hoc ansible commands
are run in the OSA context.

Change-Id: I023871df159413f9313d7a85820a50872da2b36b
  • Loading branch information
logan2211 committed May 29, 2019
1 parent c012df2 commit cb26d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/openstack-ansible.sh
Expand Up @@ -87,5 +87,5 @@ if [ "${RUN_CMD}" == "openstack-ansible" ] || [ "${RUN_CMD}" == "ansible-playboo
echo "==============================================================================="
exit "${PLAYBOOK_RC}"
else
${RUN_CMD} "${@}"
${RUN_CMD} "${@}" ${VAR1}
fi

0 comments on commit cb26d9a

Please sign in to comment.