community / community.digitalocean / 1.26.0 / module / digital_ocean_cdn_endpoints_info Display DigitalOcean CDN Endpoints | "added in version" 1.10.0 of community.digitalocean" Authors: Mark Mercado (@mamercad)community.digitalocean.digital_ocean_cdn_endpoints_info (1.26.0) — module
Install with ansible-galaxy collection install community.digitalocean:==1.26.0
collections: - name: community.digitalocean version: 1.26.0
Display DigitalOcean CDN Endpoints
- name: Display DigitalOcean CDN Endpoints community.digitalocean.digital_ocean_cdn_endpoints_info: oauth_token: "{{ lookup('ansible.builtin.env', 'DO_API_TOKEN') }}"
state: choices: - present - absent default: present description: - The usual, C(present) to create, C(absent) to destroy type: str baseurl: default: https://api.digitalocean.com/v2 description: - DigitalOcean API base url. type: str timeout: default: 30 description: - The timeout in seconds used for polling DigitalOcean's API. type: int oauth_token: aliases: - api_token description: - DigitalOcean OAuth token. - There are several other environment variables which can be used to provide this value. - i.e., - C(DO_API_TOKEN), C(DO_API_KEY), C(DO_OAUTH_TOKEN) and C(OAUTH_TOKEN). type: str validate_certs: default: true description: - If set to C(no), the SSL certificates will not be validated. - This should only set to C(no) used on personally controlled sites using self-signed certificates. type: bool
data: description: DigitalOcean CDN Endpoints returned: success sample: data: endpoints: - created_at: '2021-09-05T13:47:23Z' endpoint: mamercad.nyc3.cdn.digitaloceanspaces.com id: 01739563-3f50-4da4-a451-27f6d59d7573 origin: mamercad.nyc3.digitaloceanspaces.com ttl: 3600 meta: total: 1 type: dict