ansible / ansible.builtin / v2.9.4 / module / memset_dns_reload Request reload of Memset's DNS infrastructure, | "added in version" 2.6 of ansible.builtin" Authors: Simon Weald (@glitchcrab) preview | supported by communityansible.builtin.memset_dns_reload (v2.9.4) — module
pip
Install with pip install ansible==2.9.4
Request a reload of Memset's DNS infrastructure, and optionally poll until it finishes.
- name: submit DNS reload and poll. memset_dns_reload: api_key: 5eb86c9196ab03919abcf03857163741 poll: True delegate_to: localhost
poll: default: false description: - Boolean value, if set will poll the reload job's status and return when the job has completed (unless the 30 second timeout is reached first). If the timeout is reached then the task will not be marked as failed, but stderr will indicate that the polling failed. type: bool api_key: description: - The API key obtained from the Memset control panel. required: true
memset_api: contains: error: description: Whether the job ended in error state. returned: always sample: true type: bool finished: description: Whether the job completed before the result was returned. returned: always sample: true type: bool id: description: Job ID. returned: always sample: c9cc8ad2a3e3fb8c63ed83c424928ef8 type: str status: description: Job status. returned: always sample: DONE type: str type: description: Job type. returned: always sample: dns type: str description: Raw response from the Memset API. returned: always type: complex