community / community.general / 2.5.9 / module / memset_dns_reload Request reload of Memset's DNS infrastructure, Authors: Simon Weald (@glitchcrab)community.general.memset_dns_reload (2.5.9) — module
Install with ansible-galaxy collection install community.general:==2.5.9
collections: - name: community.general version: 2.5.9
Request a reload of Memset's DNS infrastructure, and optionally poll until it finishes.
- name: Submit DNS reload and poll community.general.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 type: str
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