Pipelines

This is a simple module that supports listing existing Pipelines

Example Syntax


name: List Pipelines
ionoscloudsdk.ionoscloud.pipeline_info: null
register: pipelines_response

Returned object

{
    "pipelines": [
        {
            "id": "f30a1c8f-334d-4238-b259-b0a761a87352",
            "type": "Pipeline",
            "metadata": {
                "created_date": "2023-10-17T15:19:14+00:00",
                "created_by": "<USER_EMAIL>",
                "created_by_user_id": "<USER_ID>",
                "created_by_user_uuid": "<USER_UUID>",
                "last_modified_date": "2023-10-17T15:19:14+00:00",
                "last_modified_by": "<USER_EMAIL>",
                "last_modified_by_user_id": "<USER_ID>",
                "last_modified_by_user_uuid": "<USER_UUID>",
                "status": "AVAILABLE"
            },
            "properties": {
                "name": "ansiblepipelinetest123",
                "logs": [
                    {
                        "public": true,
                        "source": "kubernetes",
                        "tag": "tag",
                        "protocol": "http",
                        "labels": null,
                        "destinations": [
                            {
                                "type": "loki",
                                "retention_in_days": 7
                            }
                        ]
                    }
                ],
                "tcp_address": "",
                "http_address": "<HTTP_ADDRESS>",
                "grafana_address": "<GRAFANA_ADDRESS>"
            }
        }
    ],
    "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