# OpenNebula Ansible Modules

**URL:** https://forum.opennebula.io/t/opennebula-ansible-modules/7438
**Category:** Integration Support
**Created:** [July 11, 2019, 12:20am UTC](https://forum.opennebula.io/t/opennebula-ansible-modules/7438 "2019-07-11T00:20:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kvaps](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/kvaps/32/4496_2.png) [@kvaps](https://forum.opennebula.io/u/kvaps)
#### Post date: [July 11, 2019, 12:20am UTC](https://forum.opennebula.io/t/opennebula-ansible-modules/7438/1 "2019-07-11T00:20:59Z")

</div>

Hi, I’ve just published my ansible modules for OpenNebula:

> **[GitHub - kvaps/opennebula-ansible-modules: Ansible modules for OpenNebula configuration](https://github.com/kvaps/opennebula-ansible-modules)**
>
> Ansible modules for OpenNebula configuration

As far I can see, writing modules on shell is pretty easy. I would be very happy if someone want to get involve into developing of the rest modules.

Cheers!

---

<div class="post-metadata">

### Author: ![feldsam](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/feldsam/32/4441_2.png) [@feldsam](https://forum.opennebula.io/u/feldsam)
#### Post date: [July 11, 2019, 10:48am UTC](https://forum.opennebula.io/t/opennebula-ansible-modules/7438/2 "2019-07-11T10:48:23Z")

</div>

Hi, there are already opennebula modules in ansible

[https://docs.ansible.com/ansible/latest/modules/list\_of\_cloud\_modules.html#opennebula](https://docs.ansible.com/ansible/latest/modules/list_of_cloud_modules.html#opennebula)

so you should contribute to existing instead of making new.

Here is github repo

> **[ansible/ansible](https://github.com/ansible/ansible/tree/devel/lib/ansible/modules/cloud/opennebula)**
>
> Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications — automat...

---

<div class="post-metadata">

### Author: ![jorel](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/jorel/32/6552_2.png) [@jorel](https://forum.opennebula.io/u/jorel)
#### Post date: [July 12, 2019, 8:47am UTC](https://forum.opennebula.io/t/opennebula-ansible-modules/7438/3 "2019-07-12T08:47:36Z")

</div>

Hello @kvaps,

I agree with Kristian, better to cooperate and add missing features to current modules than starting from scratch creating new.

Or is there any particular reason why you deiced not to use them?

---

<div class="post-metadata">

### Author: ![kvaps](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/kvaps/32/4496_2.png) [@kvaps](https://forum.opennebula.io/u/kvaps)
#### Post date: [July 12, 2019, 9:06am UTC](https://forum.opennebula.io/t/opennebula-ansible-modules/7438/4 "2019-07-12T09:06:05Z")

</div>

Hi,

Let’s bring little clarity about these modules.

I was just publish my working modules which I use for my needs by myself.  
Mainly I use them not for instantiate new VMs, but for configure OpenNebula clusters itself.

I will continue using and develop them because they meet my needs completely.

There is few reasons why this modules can’t be merged into main ansible branch, the main reason is that drivers are written on simple shell scripting, but not on python.

I used shell scripting because writing ansible modules on shell is very easy, second reason is that almost all opennebula drivers written by similar way on bash, so there is shouldn’t be any problem to support them.

Thanks for understanding!
