Hello list,
I’m trying to automate an API call that adds an ‘A’ record to the linode DNS service. The relevant playbook snippet is:
Hello list,
I’m trying to automate an API call that adds an ‘A’ record to the linode DNS service. The relevant playbook snippet is:
Not tried, but wondering if you could use
to detect if you need to fail, then you can retrieve the error message in a separate step.
(I think default(false) would get around the problem that you haven’t necessarily defined create_a_record_failed if there is no error.