Invoke run_k8s_ansible from its directory

It relies on loading ansible.cfg from the cwd to zero out the
inventory.

Change-Id: I43a8f12eda034d132b6752df29e7b041025f4340
This commit is contained in:
James E. Blair 2019-05-07 16:03:59 -07:00
parent e2304fbe7d
commit ab24e2a81f
1 changed files with 2 additions and 1 deletions

View File

@ -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