Merge "launch-node.py : make sure new inventory comes last"

This commit is contained in:
Zuul 2020-02-20 22:37:59 +00:00 committed by Gerrit Code Review
commit a514f098ac
1 changed files with 1 additions and 1 deletions

View File

@ -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' ] + \