community.general.scaleway_server_info – Gather information about the Scaleway servers available.¶
Note
This plugin is part of the community.general collection (version 2.5.1).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.scaleway_server_info
.
Parameters¶
Notes¶
Note
Also see the API documentation on https://developer.scaleway.com/
If
api_token
is not set within the module, the following environment variables can be used in decreasing order of precedenceSCW_TOKEN
,SCW_API_KEY
,SCW_OAUTH_TOKEN
orSCW_API_TOKEN
.If one wants to use a different
api_url
one can also set theSCW_API_URL
environment variable.
Examples¶
- name: Gather Scaleway servers information
community.general.scaleway_server_info:
region: par1
register: result
- ansible.builtin.debug:
msg: "{{ result.scaleway_server_info }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Yanis Guenane (@Spredzy)
Remy Leone (@sieben)