Generate inventory with tripleo-admin user
This is already the default when we generate the inventory via Mistral workflow [1]. By using heat-admin we cannot connect to Deployed Server environments, which e.g. affects CI, so we should use the same default that the Mistral workflow uses nowadays. [1] https://git.openstack.org/cgit/openstack/tripleo-common/tree/tripleo_common/actions/ansible.py#n526 Partial-Bug: #1757090 Change-Id: Idc0dba7a119efedae7f762d3a351419c22584b61
This commit is contained in:
parent
c3f876d20b
commit
02a49c9059
@ -823,6 +823,7 @@ def get_tripleo_ansible_inventory(inventory_file=''):
|
||||
try:
|
||||
processutils.execute(
|
||||
'/usr/bin/tripleo-ansible-inventory',
|
||||
'--ansible_ssh_user', 'tripleo-admin',
|
||||
'--static-yaml-inventory', inventory_file)
|
||||
except processutils.ProcessExecutionError as e:
|
||||
message = "Failed to generate inventory: %s" % str(e)
|
||||
|
Loading…
Reference in New Issue
Block a user