Commit graph

13 commits

Author SHA1 Message Date
Andrei Lukovenko
3945794704 Bug: repeatable invocation with state=present leads to (#3052)
[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: create domain
  digital_ocean_domain: state=present name=DOMAIN_NAME ip=DROPLET_IP

Problem: DigitalOcean API changed API
(https://developers.digitalocean.com/documentation/v2/#list-all-domain-records)
2016-07-17 15:24:22 +02:00
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
codemeup @ Work
27ad29d376 Fixing compile time error exception handling for python 3. (#3843) 2016-06-02 14:51:35 -07:00
Mike Caspar
7cc00bddc0 Documentation updates to use complete YAML : syntax instead of key=val syntax.
Adjusted example to use "" where appropriate to pass YAML Syntax checker per Contribution guidelines.

See Issue [# 2879](https://github.com/ansible/ansible-modules-core/issues/2879)
2016-02-10 10:02:38 -05:00
Brian Coca
c428483b24 updated docs to denote retirement of v1 api and clarify when and why auth fields have changed 2015-11-26 09:41:33 -08:00
Lippy Lee
b2ace272a5 Make digital_ocean_domain use API v2 2015-11-25 22:10:31 +08:00
Kamil Madac
f9a6c898b4 Fixed bug, when MX records pointed to ORIGIN(@) caused unintentional change of random A record. 2015-06-28 21:50:11 +02:00
Greg DeKoenigsberg
28a869a030 Updating cloud modules with proper github author information 2015-06-15 14:41:22 -04:00
Toshio Kuratomi
60a66a544d Several cleanups to many modules:
* Fix docs to specify when python2.6+ is required (due to a library
  dep).  This helps us know when it is okay to use python2.6+ syntax in
  the file.
* remove BabyJson returns.  See #1211  This commit fixes all but the
  openstack modules.
* Use if __name__ == '__main__' to only run the main part of the module
  if the module is run as a program.  This allows for the potential to
  unittest the code later.
2015-05-11 12:15:53 -07:00
Achilleas Pipinellis
cab378bff6 Add note about using version 1 of DigitalOcean API. 2014-11-17 17:01:26 +02:00
Sam Kottler
7b875dbda5 Remove trailing whitespace in digital_ocean_domain 2014-11-15 16:21:07 -05:00
Nejc Zupan
6f6eca5b4e digital ocean: Remove unsupported states 2014-11-15 16:12:46 -05:00
Brian Coca
0c4adcb2c6 made subcategories for cloud modules for better organization 2014-11-04 11:18:09 -05:00
Renamed from cloud/digital_ocean_domain.py (Browse further)