Note
This module is part of the community.general collection (version 10.7.3).
You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install community.general.
To use it in a playbook, specify: community.general.memset_dns_reload.
Parameter | Comments |
|---|---|
api_key string / required | The API key obtained from the Memset control panel. |
poll boolean | If Choices:
|
Attribute | Support | Description |
|---|---|---|
check_mode | Support: none | Can run in |
diff_mode | Support: none | Will return details on what has changed (or possibly needs changing in |
Note
dns.reload. If you wish to poll the job status to wait until the reload has completed, then job.status is also required.- name: Submit DNS reload and poll
community.general.memset_dns_reload:
api_key: 5eb86c9196ab03919abcf03857163741
poll: true
delegate_to: localhost
Common return values are documented here, the following are the fields unique to this module:
Key | Description |
|---|---|
memset_api complex | Raw response from the Memset API. Returned: always |
|
error boolean |
Whether the job ended in error state. Returned: always Sample: |
|
finished boolean |
Whether the job completed before the result was returned. Returned: always Sample: |
|
id string |
Job ID. Returned: always Sample: |
|
status string |
Job status. Returned: always Sample: |
|
type string |
Job type. Returned: always Sample: |
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/general/memset_dns_reload_module.html