[ovirt-devel] How to contribute to oVirt Ansible modules

Ondra Machacek omachace at redhat.com
Tue Oct 31 09:39:32 UTC 2017


Hello all,

As you might already know oVirt has it's Ansible modules for
interacting with oVirt via API using Python SDK. These modules are
part of Ansible github repository. If you are considering to
contribute any new feature to any oVirt Ansible module, there is
written a guide[1] specifically for oVirt modules. There is also a
general guide[2] for developing Ansible module, which oVirt modules
follow as well. So before contributing please read those two guides,
which should help to do contribution.

As an example please look at these two very simple pull requests, which add
a new features to the existing modules:

 -  Add VM lease option to the ovirt_vms module
    https://github.com/ansible/ansible/pull/27710

 -  Add seal functionality to the ovirt_templates module
    https://github.com/ansible/ansible/pull/31482

[1] https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/cloud/ovirt/README.rst
[2] http://docs.ansible.com/ansible/latest/dev_guide/developing_modules.html#how-to-develop-a-module

Thanks,
Ondra


More information about the Devel mailing list