Comments (6)
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.
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.
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.
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.
@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.
@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)
- Sanity tests failing in community.libvirt HOT 2
- Is it really necessary to include both COPYING and LICENSE? HOT 1
- Add the ability to get the interface addresses of a Domain (VM)
- The libvirt module is not importable. Check the requirements HOT 5
- creating networks in "open" mode no longer works HOT 1
- 'list index out of range' when a glusterfs pool exists HOT 1
- Command not found when executing in VM HOT 2
- All modules and doc fragments: Change yes/no/True/False to true/false
- Collection CI related actions needed
- Split `virt` into specialized modules
- Clone VM HOT 9
- Consider using true/false for all booleans in docs HOT 1
- Squelch output related to "domain is not running" HOT 1
- encoding error on Windows guests with libvirt_qemu connection plugin HOT 2
- I can’t do “undefine” for a virtual machine with uefi nvram HOT 2
- Problem with file paths when using ansible.builtin.copy module HOT 1
- Missing lxml dependency declaration
- Unable to use virt module against pmsuspended guest
- Option to remove all storage when deleting VM's
- Templates already available in the collection HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from community.libvirt.