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

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.

(cherry picked from commit cc458f7c37)

Co-authored-by: Nicolas Karolak <nikaro@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2021-08-27 06:32:38 +02:00
committed by GitHub
parent 15a72418ac
commit 5b4dc4ace2
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).