community / community.general / 0.2.1 / module / memset_zone_domain Create and delete domains in Memset DNS zones. Authors: Simon Weald (@glitchcrab)community.general.memset_zone_domain (0.2.1) — module
Install with ansible-galaxy collection install community.general:==0.2.1
collections: - name: community.general version: 0.2.1
Manage DNS zone domains in a Memset account.
# Create the zone domain 'test.com' - name: Create zone domain memset_zone_domain: domain: test.com zone: testzone state: present api_key: 5eb86c9196ab03919abcf03857163741 delegate_to: localhost
zone: description: - The zone to add the domain to (this must already exist). required: true state: choices: - absent - present default: present description: - Indicates desired state of resource. domain: aliases: - name description: - The zone domain name. Ensure this value has at most 250 characters. required: true api_key: description: - The API key obtained from the Memset control panel. required: true
memset_api: contains: domain: description: Domain name returned: always sample: example.com type: str id: description: Domain ID returned: always sample: b0bb1ce851aeea6feeb2dc32fe83bf9c type: str description: Domain info from the Memset API returned: when changed or state == present type: complex