parse scw-cli config file for oauth_token (#3250)

If `api_token` is not set and config file exists, it will try to fetch
the value from the activated profile and fallback on default.

This should not break existing workflows.
This commit is contained in:
Nicolas Karolak
2021-08-27 06:08:54 +02:00
committed by GitHub
parent b8a081b9b2
commit cc458f7c37
2 changed files with 41 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
minor_changes:
- scaleway plugin inventory - parse scw-cli config file for ``oauth_token`` (https://github.com/ansible-collections/community.general/pull/3250).