mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -07:00
exoscale: similar env vars as in cloudstack
* update docs
This commit is contained in:
parent
58cd107166
commit
4a2b4d07db
4 changed files with 72 additions and 109 deletions
|
@ -39,10 +39,10 @@ EXO_DNS_BASEURL = "https://api.exoscale.ch/dns/v1"
|
|||
|
||||
def exo_dns_argument_spec():
|
||||
return dict(
|
||||
api_key=dict(default=None, no_log=True),
|
||||
api_secret=dict(default=None, no_log=True),
|
||||
api_timeout=dict(type='int', default=10),
|
||||
api_region=dict(default='cloudstack'),
|
||||
api_key=dict(default=os.environ.get('CLOUDSTACK_KEY'), no_log=True),
|
||||
api_secret=dict(default=os.environ.get('CLOUDSTACK_SECRET'), no_log=True),
|
||||
api_timeout=dict(type='int', default=os.environ.get('CLOUDSTACK_TIMEOUT') or 10),
|
||||
api_region=dict(default=os.environ.get('CLOUDSTACK_REGION') or 'cloudstack'),
|
||||
validate_certs=dict(default='yes', type='bool'),
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue