Finish switching to using new ansible inventory
Change I76b1099bf0cf3bfead17f96e456cdce87d0e8a49 altered the name of the inventory script, so reflect that in the corresponding subprocess call in launch-node.py and a comment in the expand-groups.sh script. Change-Id: I4c2c762716813b5d59dcc1b623f5988c8aa7d490
This commit is contained in:
@@ -162,7 +162,7 @@ def bootstrap_server(server, key, name, volume_device, keep,
|
||||
# Regenerate inventory cache, throwing an error if there is an issue
|
||||
# so that we don't generate a bogus groups file
|
||||
try:
|
||||
run(['/etc/ansible/hosts/openstack', '--list'],
|
||||
run(['/etc/ansible/hosts/openstack_inventory', '--list'],
|
||||
env=expand_env)
|
||||
except subprocess.CalledProcessError as e:
|
||||
print "Inventory regeneration failed"
|
||||
|
Reference in New Issue
Block a user