community / community.general / 1.3.11 / module / memset_zone_domain Create and delete domains in Memset DNS zones. Authors: Simon Weald (@glitchcrab)community.general.memset_zone_domain (1.3.11) — module
Install with ansible-galaxy collection install community.general:==1.3.11
collections: - name: community.general version: 1.3.11
Manage DNS zone domains in a Memset account.
# Create the zone domain 'test.com' - name: Create zone domain community.general.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 type: str state: choices: - absent - present default: present description: - Indicates desired state of resource. type: str domain: aliases: - name description: - The zone domain name. Ensure this value has at most 250 characters. required: true type: str api_key: description: - The API key obtained from the Memset control panel. required: true type: str
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