3Modules4Plugins1Dependency
Lean Ansible bindings for OpenShift Virtualization
This repository hosts the redhat.openshift_virtualization
Ansible Collection, which provides virtual machine operations and an inventory source for use with Ansible.
This collection has been tested against Ansible versions >=2.16,<=2.19 and Python versions >=3.10,<=3.13.
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 VirtualMachineskubevirt_vmi_info
: Describe KubeVirt VirtualMachineInstancesBefore using the collection, you need to setup Ansible Automation Hub as galaxy server; then install it with the Ansible Galaxy command-line tool:
ansible-galaxy collection install redhat.openshift_virtualization
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-core-*.tar.gz
To install all the dependencies, you need to setup Ansible Automation Hub as galaxy server; then install them with:
ansible-galaxy collection install -r requirements.yml
To install all the dependencies:
pip install -r requirements.txt
See Ansible Using collections for more details.
If you encounter any issues with this collection please go to the Red Hat Customer Portal and open a support case.
Additionally, to report an issue or to improve this collection, you can also log in to your Red Hat Jira account and submit a Jira issue.
The collection includes unit and integration tests. The integration tests require a working cluster.
To run tests the ansible-test
tool is required. See Testing Ansible and Collections
on how to run the collection's tests.
Apache License 2.0
See LICENSE to see the full text.
Product |
---|
Red Hat Ansible Automation Platform 2.4 |
Red Hat Ansible Automation Platform 2.5 |
This repository hosts the redhat.openshift_virtualization
Ansible Collection, which provides virtual machine operations and an inventory source for use with Ansible.
This collection has been tested against Ansible versions >=2.16,<=2.19 and Python versions >=3.10,<=3.13.
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 VirtualMachineskubevirt_vmi_info
: Describe KubeVirt VirtualMachineInstancesBefore using the collection, you need to setup Ansible Automation Hub as galaxy server; then install it with the Ansible Galaxy command-line tool:
ansible-galaxy collection install redhat.openshift_virtualization
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-core-*.tar.gz
To install all the dependencies, you need to setup Ansible Automation Hub as galaxy server; then install them with:
ansible-galaxy collection install -r requirements.yml
To install all the dependencies:
pip install -r requirements.txt
See Ansible Using collections for more details.
If you encounter any issues with this collection please go to the Red Hat Customer Portal and open a support case.
Additionally, to report an issue or to improve this collection, you can also log in to your Red Hat Jira account and submit a Jira issue.
The collection includes unit and integration tests. The integration tests require a working cluster.
To run tests the ansible-test
tool is required. See Testing Ansible and Collections
on how to run the collection's tests.
Apache License 2.0
See LICENSE to see the full text.
This collection requires the following collections for use:
Name | Summary |
---|
The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.
We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.