From 5643762650185ef65f018c67b43d277dd04b197d Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Wed, 24 Jan 2018 19:20:39 -0600 Subject: [PATCH] Pass -i /dev/null to cloud launcher Pass -i /dev/null to avoid the ansible-playbook run with all-clouds.yaml being active messing with the normal inventory cache. Change-Id: I095401002b3a15a8d650187c94aca806e5e99fe3 --- run_cloud_launcher.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_cloud_launcher.sh b/run_cloud_launcher.sh index ccbbeee242..a89823c794 100755 --- a/run_cloud_launcher.sh +++ b/run_cloud_launcher.sh @@ -30,6 +30,8 @@ set +e # We need access to all-clouds export OS_CLIENT_CONFIG_FILE=/etc/openstack/all-clouds.yaml -timeout -k 2m 120m ansible-playbook -f 1 \ +# Pass -i /dev/null to avoid the ansible-playbook run with all-clouds.yaml +# being active messing with the normal inventory cache. +timeout -k 2m 120m ansible-playbook -i /dev/null -f 1 \ ${ANSIBLE_PLAYBOOKS}/run_cloud_launcher.yaml \ -e@${ANSIBLE_PLAYBOOKS}/clouds_layouts.yml