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
This commit is contained in:
Monty Taylor 2018-01-24 19:20:39 -06:00
parent 57d7783470
commit 5643762650
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 3 additions and 1 deletions

View File

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