Registries

This is a simple module that supports listing existing Registries

Example Syntax


name: List Registries
ionoscloudsdk.ionoscloud.registry_info: null
register: registries_response

Returned object

{
    "result": [
        {
            "href": "",
            "id": "9bc72c7b-14d3-493e-a700-f9bc06b25614",
            "metadata": {
                "created_by": "<USER_EMAIL>",
                "created_by_user_id": "<USER_ID>",
                "created_date": "2023-05-29T13:51:25+00:00",
                "last_modified_by": null,
                "last_modified_by_user_id": null,
                "last_modified_date": null,
                "state": "WaitingForStorage"
            },
            "properties": {
                "garbage_collection_schedule": {
                    "days": [
                        "Wednesday"
                    ],
                    "time": "04:17:00+00:00"
                },
                "hostname": "",
                "location": "de/fra",
                "name": "ansibletest123",
                "storage_usage": {
                    "bytes": 0,
                    "updated_at": null
                }
            },
            "type": "registry"
        }
    ],
    "failed": false,
    "changed": false
}

For more examples please check out the tests here.

Available parameters:

Name
Required
Description

filters dict

False

Filter that can be used to list only objects which have a certain set of propeties. Filters should be a dict with a key containing keys and value pair in the following format: 'properties.name': 'server_name'

api_url str

False

The Ionos API base URL.

certificate_fingerprint str

False

The Ionos API certificate fingerprint.

username str

False

The Ionos username. Overrides the IONOS_USERNAME environment variable.

password str

False

The Ionos password. Overrides the IONOS_PASSWORD environment variable.

token str

False

The Ionos token. Overrides the IONOS_TOKEN environment variable.

Last updated