ansible / ansible.builtin / v2.9.25 / module / memset_zone_domain Create and delete domains in Memset DNS zones. | "added in version" 2.6 of ansible.builtin" Authors: Simon Weald (@glitchcrab) preview | supported by communityansible.builtin.memset_zone_domain (v2.9.25) — module
pip
Install with pip install ansible==2.9.25
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