I think I discovered a bug.
Under all circumstances digital_ocean_domain will fail when the subdomain (name) already exist:
fatal: [
x.sample.com]: FAILED! => {"changed": false, "failed": true, "msg": "'Domain' object has no attribute 'id'"}
If just a name and ip address is provided, the record is created successfully the first time. Subsequent runs of the playbook generate the above error. I have also tried providing an id or droplet_id with every request with the same behavior.
Any guidance would be appreciated!
Thanks,
Jimmy