From ab24e2a81f866d60c3a70d198d2ac784a5f124be Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 7 May 2019 16:03:59 -0700 Subject: [PATCH] Invoke run_k8s_ansible from its directory It relies on loading ansible.cfg from the cwd to zero out the inventory. Change-Id: I43a8f12eda034d132b6752df29e7b041025f4340 --- run_k8s_ansible.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run_k8s_ansible.sh b/run_k8s_ansible.sh index 9f5ad3e9d1..981ca06700 100755 --- a/run_k8s_ansible.sh +++ b/run_k8s_ansible.sh @@ -40,4 +40,5 @@ export NODE_EXTRA_VOLUME_SIZE="80" export USE_OCTAVIA="True" export BLOCK_STORAGE_VERSION='v3' -ansible-playbook -v /opt/k8s-on-openstack/site.yaml +cd /opt/k8s-on-openstack +ansible-playbook -v site.yaml