Hi all,

I created an ansible role for setting up ovirt-engine development environment. If you are not familiar with ansible, it's a tool for getting a machine into a specific 'state'. A role is a 'type' of machine, like 'db server' or 'web server' or 'dev rig.' Roles are 'applied' to machines. So you can apply the ovirt-engine-devel role to setup a working development environment instantly. It works over ssh or locally.

You can see it in action here: https://imgur.com/a/FwEkmy5?

Known issues:
 - not tested on fc28 yet
 - not tested on EL yet
 - name -- in EL/Fedora -devel package names are a convention for something
 - idempotency needs fixing when code edited

Improvements
 - gerrit setup
 - changing database name (multiple engine environments, etc.)

code:
https://github.com/gregsheremeta/ovirt-engine-devel-example
https://github.com/gregsheremeta/ovirt-engine-devel

Feedback welcome, and if you find it interesting, I'd love assistance :)




Best wishes,
Greg

--

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA

gshereme@redhat.com    IRC: gshereme