parent
dd6ef3355f
commit
bc9a40b32d
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ def generate_inv_from_api(config):
|
||||||
try:
|
try:
|
||||||
inventory['scaleway'] = copy.deepcopy(EMPTY_GROUP)
|
inventory['scaleway'] = copy.deepcopy(EMPTY_GROUP)
|
||||||
|
|
||||||
|
auth_token = None
|
||||||
if config.has_option('auth', 'api_token'):
|
if config.has_option('auth', 'api_token'):
|
||||||
auth_token = config.get('auth', 'api_token')
|
auth_token = config.get('auth', 'api_token')
|
||||||
auth_token = env_or_param('SCALEWAY_TOKEN', param=auth_token)
|
auth_token = env_or_param('SCALEWAY_TOKEN', param=auth_token)
|
||||||
|
|
Loading…
Reference in a new issue