This repository hosts the kubevirt.core
Ansible Collection, which provides virtual machine operations and an inventory source for use with Ansible.
This collection has been tested against Ansible versions >=2.14,<=2.16 and Python versions >=3.9,<=3.12.
See the Ansible core support matrix for supported combinations.
kubevirt
: Inventory source for KubeVirt VirtualMachineskubevirt_vm
: Create or delete KubeVirt VirtualMachineskubevirt_vm_info
: Describe KubeVirt VirtualMachines
Before using this collection, you need to install it with the Ansible Galaxy command-line tool:
ansible-galaxy collection install kubevirt.core
Clone the repository, checkout the tag you want to build, or pick the main branch for the development version; then:
ansible-galaxy collection build .
ansible-galaxy collection install kubevirt-kubevirt.core-*.tar.gz
- kubernetes.core>=3.0.1
To install all the dependencies:
ansible-galaxy collection install -r requirements.yml
- jinja2
- jsonpatch
- kubernetes>=28.1.0
- PyYAML>=3.11
To install all the dependencies:
pip install -r requirements.txt
See Ansible Using collections for more details.
We follow the KubeVirt Code of Conduct.
The content of this collection is made by people like you, a community of individuals collaborating on making the world better through developing automation software.
We are actively accepting new contributors.
Any kind of contribution is very welcome.
You don't know how to start? Refer to our contribution guide!
We use the following guidelines:
- CONTRIBUTING.md
- REVIEW_CHECKLIST.md
- Ansible Community Guide
- Ansible Development Guide
- Ansible Collection Development Guide
The current maintainers are listed in the OWNERS file. If you have questions or need help, feel free to mention them in the proposals.
To learn how to maintain / become a maintainer of this collection, refer to the Maintainer guidelines.
The process of decision making in this collection is based on discussing and finding consensus among participants.
Every voice is important. If you have something on your mind, create an issue or dedicated discussion and let's discuss it!
GNU General Public License v3.0 or later.
See LICENSE to see the full text.