Pipeline
pipeline
Example Syntax
name: Create Pipeline
ionoscloudsdk.ionoscloud.pipeline:
name: 'ansiblepipelinetest'
logs: '[{'source': 'kubernetes', 'tag': 'tag', 'protocol': 'http', 'destinations': [{'type': 'loki', 'retention_in_days': 7}]}]'
wait: true
wait_timeout: 1200
register: pipeline_response
name: Update pipeline
ionoscloudsdk.ionoscloud.pipeline:
pipeline: ''
name: 'ansiblepipeNEW'
logs: '[{'source': 'docker', 'tag': 'differenttag', 'protocol': 'tcp', 'labels': ['1'], 'destinations': [{'type': 'loki', 'retention_in_days': 14}]}, {'source': 'kubernetes', 'tag': 'updatedtag', 'protocol': 'http', 'labels': ['2'], 'destinations': [{'type': 'loki', 'retention_in_days': 14}]}]'
state: update
register: updated_pipeline_response
name: Delete pipeline
ionoscloudsdk.ionoscloud.pipeline:
pipeline: ''
wait: true
state: absent
name: Renew Pipeline key
ionoscloudsdk.ionoscloud.pipeline:
pipeline: ''
state: renew
Returned object
For more examples please check out the tests here.
state: present
Available parameters for state present:
Name
Required
Description
state: absent
Available parameters for state absent:
Name
Required
Description
state: update
Available parameters for state update:
Name
Required
Description
state: renew
Available parameters for state renew:
Name
Required
Description
Last updated
