community / community.general / 0.1.4 / module / scaleway_snapshot_info Gather information about the Scaleway snapshots available. Authors: Yanis Guenane (@Spredzy), Remy Leone (@sieben)community.general.scaleway_snapshot_info (0.1.4) — module
Install with ansible-galaxy collection install community.general:==0.1.4
collections: - name: community.general version: 0.1.4
Gather information about the Scaleway snapshot available.
- name: Gather Scaleway snapshots information scaleway_snapshot_info: region: par1 register: result
- debug: msg: "{{ result.scaleway_snapshot_info }}"
region: choices: - ams1 - EMEA-NL-EVS - par1 - EMEA-FR-PAR1 description: - Scaleway region to use (for example C(par1)). required: true api_url: aliases: - base_url default: https://api.scaleway.com description: - Scaleway API URL. type: str api_token: aliases: - oauth_token description: - Scaleway OAuth token. type: str api_timeout: aliases: - timeout default: 30 description: - HTTP timeout to Scaleway API in seconds. type: int validate_certs: default: true description: - Validate SSL certs of the Scaleway API. type: bool query_parameters: default: {} description: - List of parameters passed to the query string. type: dict
scaleway_snapshot_info: description: Response from Scaleway API returned: success sample: scaleway_snapshot_info: - base_volume: id: 68386fae-4f55-4fbf-aabb-953036a85872 name: snapshot-87fc282d-f252-4262-adad-86979d9074cf-2018-04-26_12:42 creation_date: '2018-08-14T22:34:35.299461+00:00' id: b61b4b03-a2e9-4da5-b5ea-e462ac0662d2 modification_date: '2018-08-14T22:34:54.520560+00:00' name: snapshot-87fc282d-f252-4262-adad-86979d9074cf-2018-04-26_12:42 snapshot organization: 3f709602-5e6c-4619-b80c-e841c89734af size: 25000000000 state: available volume_type: l_ssd type: complex