Merge "launch-node.py : make sure new inventory comes last"
This commit is contained in:
commit
a514f098ac
@ -177,10 +177,10 @@ def bootstrap_server(server, key, name, volume_device, keep,
|
||||
t.start()
|
||||
|
||||
inventory_list = (
|
||||
jobdir.inventory_root,
|
||||
'/opt/system-config/inventory/openstack.yaml',
|
||||
'/opt/system-config/inventory/groups.yaml',
|
||||
'/etc/ansible/hosts/emergency.yaml',
|
||||
jobdir.inventory_root,
|
||||
)
|
||||
inventory_cmds = [v for e in inventory_list for v in ('-i', e)]
|
||||
ansible_cmd = ['ansible-playbook', '--flush-cache' ] + \
|
||||
|
Loading…
Reference in New Issue
Block a user