ansible/cloud/digital_ocean
Andrei Lukovenko ff223ee14c Bug: invocation with state=absent always leads to (#3051)
[localhost]: FAILED! => {"changed": false, "failed": true, "msg":
"'Domain' object has no attribute 'id'"}

How to reproduce:

- name: create domain
  digital_ocean_domain: state=present name=DOMAIN_NAME ip=DROPLET_IP

- name: destroy domain
  digital_ocean_domain: state=absent name=DOMAIN_NAME

Problem: DigitalOcean API accepts domain name, not record ID
(https://developers.digitalocean.com/documentation/v2/#delete-a-domain)
2016-07-11 01:26:31 +02:00
..
__init__.py added __init__.py to new cloud subcategories so builds work again 2014-11-05 11:07:19 -05:00
digital_ocean.py Fixing compile time error exception handling for python 3. (#3843) 2016-06-02 14:51:35 -07:00
digital_ocean_domain.py Bug: invocation with state=absent always leads to (#3051) 2016-07-11 01:26:31 +02:00
digital_ocean_sshkey.py Fixing compile time error exception handling for python 3. (#3843) 2016-06-02 14:51:35 -07:00