Fix token auth in ansible inventory script
The token authentication in the inventory script currently uses the `user_domain_id` parameter, which is supposed to be used with password authentication only. This patch removed the param. Change-Id: I5ec5aa386eb267283cc187cf1d4206827e6b3191 Closes-Bug: #1678029
This commit is contained in:
parent
c15f4696d6
commit
b669bcbf45
|
@ -171,7 +171,6 @@ class TripleoInventory(object):
|
|||
auth = ks_id.Token(auth_url=self.configs.auth_url,
|
||||
token=self.configs.auth_token,
|
||||
project_name=self.configs.project_name,
|
||||
user_domain_id='default',
|
||||
project_domain_id='default')
|
||||
else:
|
||||
auth = ks_id.Password(auth_url=self.configs.auth_url,
|
||||
|
|
Loading…
Reference in New Issue