Closed deivid-rodriguez closed 9 years ago
Anybody there?
I had the same issue, I can only :+1: this
Sorry, only noticed this pull request after I had already duplicated the effort. https://github.com/Wiredcraft/dopy/pull/33
Not a great outlook if this pull request has been sitting here for a while... I kinda need it for some ansible stuff.
Merge #33 instead to include private_ip_address as well. Thanks !
Right now the type of IP is inconsistent. If no private_networking is specified when creating the droplet, it will return a public IP. Otherwise it will return a private IP (because private IPs are listed first by digital_ocean's API, and we are just returning the first element in the json response).