mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
cloudstack: implement general api_region support, update docs
This commit is contained in:
@@ -94,7 +94,8 @@ class AnsibleCloudStack(object):
|
||||
method=api_http_method
|
||||
)
|
||||
else:
|
||||
self.cs = CloudStack(**read_config())
|
||||
api_region = self.module.params.get('api_region', 'cloudstack')
|
||||
self.cs = CloudStack(**read_config(api_region))
|
||||
|
||||
|
||||
def get_or_fallback(self, key=None, fallback_key=None):
|
||||
|
||||
Reference in New Issue
Block a user