mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Include Digital Ocean Token Alias (#36810)
This commit is contained in:
parent
0694aca2a0
commit
e2615308f9
2 changed files with 2 additions and 0 deletions
|
@ -106,6 +106,7 @@ class DigitalOceanHelper:
|
|||
# Support environment variable for DigitalOcean OAuth Token
|
||||
fallback=(env_fallback, ['DO_API_TOKEN', 'DO_API_KEY', 'DO_OAUTH_TOKEN', 'OAUTH_TOKEN']),
|
||||
required=False,
|
||||
aliases=['api_token'],
|
||||
),
|
||||
timeout=dict(type='int', default=30),
|
||||
)
|
||||
|
|
|
@ -13,6 +13,7 @@ options:
|
|||
- "There are several other environment variables which can be used to provide this value."
|
||||
- "i.e., - 'DO_API_TOKEN', 'DO_API_KEY', 'DO_OAUTH_TOKEN' and 'OAUTH_TOKEN'"
|
||||
required: false
|
||||
aliases: ['api_token']
|
||||
timeout:
|
||||
description:
|
||||
- The timeout in seconds used for polling DigitalOcean's API.
|
||||
|
|
Loading…
Reference in a new issue