mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Use set_setting; alleviates pyrax requiring the ~/pyrax.cfg in order to establish identity_type
This commit is contained in:
parent
039d4c95d9
commit
e366712aca
1 changed files with 2 additions and 0 deletions
|
@ -112,6 +112,8 @@ except KeyError, e:
|
|||
sys.stderr.write('Unable to load %s\n' % e.message)
|
||||
sys.exit(1)
|
||||
|
||||
pyrax.set_setting('identity_type', 'rackspace')
|
||||
|
||||
try:
|
||||
pyrax.set_credential_file(os.path.expanduser(creds_file),
|
||||
region=region)
|
||||
|
|
Loading…
Reference in a new issue