Coder Social home page Coder Social logo

Comments (6)

Tronde avatar Tronde commented on June 28, 2024 1

Hi @Andersson007,
Well wether my role coud be useful to the contributor community of this collection is for the community to decide. I could think of the following use caes.

Provision pre-defined lab environments

When I work with linux-system-roles or rhel-system-roles for example I'd like to test different roles against a set of EL releases to see how it works. I'd like to use the same lab containing the same amount of VMs with different releases. So I specify my lab in a var file, use the role kvm_provision_lab to deploy the VMs, run my tests afterwards and delete them. When I need them again, I just re-run my playbook.

The same goes for tests against Debian and Ubuntu. Iˋd like to use the same lab each time for my tests.

Example of how to use this collection

The role may serve as an example on how to use this collection as it depends on this collection an make heavy use of it. You could ship a role to deploy VMs to a KVM/QEMU hypervisor together with your colletion. Users would have some additional tooling to start with.

Cheers,
Tronde

from community.libvirt.

tabowling avatar tabowling commented on June 28, 2024

Thank you for opening this Eric! We also have the official redhat.rhv collection in automation hub as the supported version of the ovirt content

https://cloud.redhat.com/ansible/automation-hub/repo/published/redhat/rhv/docs
https://github.com/ovirt/ovirt-ansible-collection

I know ovirt assumes a lot more infrastructure, services, and functionality not present in base rhel, but I was meaning to check to see if the basic vm provisioning could help. I'd also love to see if we could co-develop standardized rhel hypervisor host role as part of the rhel-system-roles and https://linux-system-roles.github.io/ for simple hypervisor use cases as we are using here.

from community.libvirt.

ericzolf avatar ericzolf commented on June 28, 2024

Sorry for taking so long to react but, yeah, we all have real work to do :-). The use case I personally mainly see for libvirt is my own laptop, so that I can setup demo environments. Ovirt would definitely be too invasive in this regard.

This said, I wouldn't mind to split my effort between system roles to setup the libvirt host (what I called libvirt_setup), and the libvirt collection to create VMs (my current domain_* roles).

In the meantime, I've also created an inventory plug-in which I could offer independently from this discussion. Shall I offer it as a separate PR? See https://github.com/ericzolf/libvirt_automated/blob/master/plugins/inventory/libvirt_inv.py

from community.libvirt.

Tronde avatar Tronde commented on June 28, 2024

Hey folks,
I develop a similar role for the same use case as @ericzolf described here. The kvm_provision_lab should ease the provisioning process of lab environments on KVM/QEMU hypervisors.

Already left a comment about it here.

If you find the time to look into it I appreciate any feedback. Please tell me if you find it useful or what you think in general about it.

from community.libvirt.

Andersson007 avatar Andersson007 commented on June 28, 2024

@Tronde hello, thanks for sharing the role! I'm a person unfamiliar with libvirt. Is it something that can be useful for the contributor community of this collection? Can your role help in development anyhow? (e.g. to set up testing infra or whatever)

from community.libvirt.

Andersson007 avatar Andersson007 commented on June 28, 2024

@Tronde cool, thanks for the explanation! If the collection maintainers find it interesting, they'll contact you, thanks a lot!

from community.libvirt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.