From cb26d9a3fd6eb8265d60ae10cdef649f95ddeaa3 Mon Sep 17 00:00:00 2001 From: Logan V Date: Wed, 29 May 2019 11:22:24 -0500 Subject: [PATCH] Load extra variables correctly in wrapper 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 --- scripts/openstack-ansible.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/openstack-ansible.sh b/scripts/openstack-ansible.sh index 476ece202d..adcc4a844f 100644 --- a/scripts/openstack-ansible.sh +++ b/scripts/openstack-ansible.sh @@ -87,5 +87,5 @@ if [ "${RUN_CMD}" == "openstack-ansible" ] || [ "${RUN_CMD}" == "ansible-playboo echo "===============================================================================" exit "${PLAYBOOK_RC}" else - ${RUN_CMD} "${@}" + ${RUN_CMD} "${@}" ${VAR1} fi