identity_type is set dynamically above

This commit is contained in:
Matt Martz 2014-01-24 11:01:07 -06:00
parent bc473c5be3
commit 139e905e98

View file

@ -45,8 +45,6 @@ def setup_rax_module(module, rax_module):
module.fail_json(msg='Unable to load %s' % e.message)
try:
rax_module.set_setting('identity_type', 'rackspace')
if api_key and username:
if api_key == 'USE_KEYRING':
rax_module.keyring_auth(username)