Note
This plugin is part of the community.general collection.
To install it use: ansible-galaxy collection install community.general.
To use it in a playbook, specify: community.general.memset_zone_domain.
| Parameter | Choices/Defaults | Comments |
|---|---|---|
| api_key string / required | The API key obtained from the Memset control panel. | |
| domain string / required | The zone domain name. Ensure this value has at most 250 characters. aliases: name | |
| state string |
| Indicates desired state of resource. |
| zone string / required | The zone to add the domain to (this must already exist). |
Note
with_items.# 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
Common return values are documented here, the following are the fields unique to this module:
| Key | Returned | Description | |
|---|---|---|---|
| memset_api complex | when changed or state == present | Domain info from the Memset API | |
| domain string | always | Domain name Sample: example.com | |
| id string | always | Domain ID Sample: b0bb1ce851aeea6feeb2dc32fe83bf9c | |
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/general/memset_zone_domain_module.html