ansible / ansible.builtin / v2.7.16 / module / scaleway_volume_facts Gather facts about the Scaleway volumes available. | "added in version" 2.7 of ansible.builtin" Authors: Yanis Guenane (@Spredzy), Remy Leone (@sieben) preview | supported by communityansible.builtin.scaleway_volume_facts (v2.7.16) — module
pip
Install with pip install ansible==2.7.16
Gather facts about the Scaleway volumes available.
- name: Gather Scaleway volumes facts scaleway_volume_facts:
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. required: true 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_volume_facts: contains: scaleway_volume_facts: - creation_date: '2018-08-14T20:56:24.949660+00:00' export_uri: null id: b8d51a06-daeb-4fef-9539-a8aea016c1ba modification_date: '2018-08-14T20:56:24.949660+00:00' name: test-volume organization: 3f709602-5e6c-4619-b80c-e841c89734af server: null size: 50000000000 state: available volume_type: l_ssd description: Response from Scaleway API returned: success type: complex