mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
dd6ef3355f
commit
bc9a40b32d
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ def generate_inv_from_api(config):
|
|||
try:
|
||||
inventory['scaleway'] = copy.deepcopy(EMPTY_GROUP)
|
||||
|
||||
auth_token = None
|
||||
if config.has_option('auth', 'api_token'):
|
||||
auth_token = config.get('auth', 'api_token')
|
||||
auth_token = env_or_param('SCALEWAY_TOKEN', param=auth_token)
|
||||
|
|
Loading…
Reference in a new issue