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
commit cc458f7c37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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).