# Digital Ocean + Deis modules

**URL:** <https://forum.ansible.com/t/digital-ocean-deis-modules/19070>\
**Category:** Ansible Developer\
**Created:** [August 20, 2015, 4:38pm UTC](https://forum.ansible.com/t/digital-ocean-deis-modules/19070 "2015-08-20T16:38:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Remy\_Sanchez](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@Remy\_Sanchez](https://forum.ansible.com/u/Remy_Sanchez)\
**Post date:** [August 20, 2015, 4:38pm UTC](https://forum.ansible.com/t/digital-ocean-deis-modules/19070/1 "2015-08-20T16:38:26Z")

</div>

Hi,

I’ve started two modules for my own use.

[https://gist.github.com/Xowap/15100acf2f466a1178a6](https://gist.github.com/Xowap/15100acf2f466a1178a6)

This one is a replacement for digital\_ocean\_domain. Besides the fact that I never really figured why there was a droplet id as argument to the DNS module, I actually needed to be able to set multiple IP to a single domain name, which apparently isn’t permitted with the current module (but once again, I did not really understand how it works). Here I ensure that all the supplied addresses have a record, and only them. Additionally, this module uses the v2 API.

[https://gist.github.com/Xowap/8cade85ee662b7df7edd](https://gist.github.com/Xowap/8cade85ee662b7df7edd)

This one can be used to create and configure [Deis](http://deis.io/) apps.

If you are interested in any of those two, I can tweak them and bring them up to your standards for inclusion into the standard modules distribution. I will also probably develop additional Deis modules in the future, especially if there’s interest for it in the community.

I would also like to add that the Digital Ocean lib that Ansible relies on ([dopy](https://github.com/Wiredcraft/dopy)) seems to be unmaintained and has some [really annoying bugs](https://github.com/Wiredcraft/dopy/issues/29) pending. I would suggest not to depend on that anymore or to fork it, but that’s not really my problem as long as I can use my patched version 🙂

Have a nice day,  
Rémy
