ansible / ansible.builtin / v2.3.3.0-1 / module / exo_dns_domain Manages domain records on Exoscale DNS API. | "added in version" 2.2 of ansible.builtin" Authors: René Moser (@resmo) preview | supported by communityansible.builtin.exo_dns_domain (v2.3.3.0-1) — module
pip
Install with pip install ansible==2.3.3.0.post1
Create and remove domain records.
# Create a domain. - local_action: module: exo_dns_domain name: example.com
# Remove a domain. - local_action: module: exo_dns_domain name: example.com state: absent
name: description: - Name of the record. required: true state: choices: - present - absent default: present description: - State of the resource. required: false api_key: default: null description: - API key of the Exoscale DNS API. required: false api_region: default: cloudstack description: - Name of the ini section in the C(cloustack.ini) file. required: false api_secret: default: null description: - Secret key of the Exoscale DNS API. required: false api_timeout: default: 10 description: - HTTP timeout to Exoscale DNS API. required: false validate_certs: default: true description: - Validate SSL certs of the Exoscale DNS API. required: false
exo_dns_domain: contains: account_id: description: Your account ID returned: success sample: 34569 type: int auto_renew: description: Whether domain is auto renewed or not returned: success sample: false type: bool created_at: description: When the domain was created returned: success sample: '2016-08-12T15:24:23.989Z' type: string expires_on: description: When the domain expires returned: success sample: '2016-08-12T15:24:23.989Z' type: string id: description: ID of the domain returned: success sample: '2016-08-12T15:24:23.989Z' type: int lockable: description: Whether the domain is lockable or not returned: success sample: true type: bool name: description: Domain name returned: success sample: example.com type: string record_count: description: Number of records related to this domain returned: success sample: 5 type: int registrant_id: description: ID of the registrant returned: success sample: null type: int service_count: description: Number of services returned: success sample: 0 type: int state: description: State of the domain returned: success sample: hosted type: string token: description: Token returned: success sample: r4NzTRp6opIeFKfaFYvOd6MlhGyD07jl type: string unicode_name: description: Domain name as unicode returned: success sample: example.com type: string updated_at: description: When the domain was updated last. returned: success sample: '2016-08-12T15:24:23.989Z' type: string user_id: description: ID of the user returned: success sample: null type: int whois_protected: description: Wheter the whois is protected or not returned: success sample: false type: bool description: API domain results returned: success type: complex