diff --git a/changelogs/fragments/11311-scaleway-scw-profile-var.yml b/changelogs/fragments/11311-scaleway-scw-profile-var.yml new file mode 100644 index 0000000000..95c19e6bfa --- /dev/null +++ b/changelogs/fragments/11311-scaleway-scw-profile-var.yml @@ -0,0 +1,2 @@ +minor_changes: + - scaleway inventory plugin - added support for ``SCW_PROFILE`` environment variable for the ``scw_profile`` option (https://github.com/ansible-collections/community.general/issues/11310, https://github.com/ansible-collections/community.general/pull/11311). diff --git a/plugins/inventory/scaleway.py b/plugins/inventory/scaleway.py index 70684fb0b8..289ee893cd 100644 --- a/plugins/inventory/scaleway.py +++ b/plugins/inventory/scaleway.py @@ -45,6 +45,9 @@ options: not defined. type: string version_added: 4.4.0 + env: + - name: SCW_PROFILE + version_added: 12.2.0 oauth_token: description: - Scaleway OAuth token.