Skip to content

redhat-cop/openshift_virtualization_ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenShift Virtualization Operations Collection

GitHub Release GitHub Actions Workflow Status Semantic Versioning License

Description

This repository contains tooling to support the operational aspects of OpenShift Virtualization.

Documentation

Release Notes

See CHANGELOG.md for release history and changes.

Roles

This collection includes the following roles for operating OpenShift Virtualization:

  • vm_backup_restore - Virtual Machine backup and restore capabilities.
  • vm_collect - Collection of Migration Toolkit for Virtualization inventory information.
  • vm_hot_plug - Hot Plug Virtual Machine resources.
  • vm_lifecycle - Management of the lifecycle activities of Virtual Machines.
  • vm_networking - Management of Virtual Machine networking.
  • vm_patching - Patching related activities for Virtual Machines.

Requirements

The following Ansible Collections are required:

---
collections:
  - name: redhat.openshift_virtualization
    version: ">=2.1.0"
  - name: redhat.openshift
    version: ">=4.0.0"
  - name: kubernetes.core
    version: ">=5.2.0"
...

Installation

You can install the infra.openshift_virtualization_ops collection with the Ansible Galaxy CLI:

ansible-galaxy collection install infra.openshift_virtualization_ops

Note that if you install any collections from Ansible Galaxy, they will not be upgraded automatically when you upgrade the Ansible package.

To upgrade the collection to the latest available version, run the following command:

ansible-galaxy collection install infra.openshift_virtualization_ops --upgrade

You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:

---
collections:
  - name: infra.openshift_virtualization_ops
...

See Using Ansible Collections for more details.

Use Cases

This collection is ideal for accomplishing the following using Ansible automation:

  • Day 2 operations of Virtual Machines running in OpenShift.

Testing

tox is used to perform tests and verification of this collection.

The following commands can be used to execute the various types of tests implemented:

tox -av # lists all tests

tox # run them all

tox -e <test name> # run specific one

tox -f sanity --ansible -c tox-ansible.ini     # run tox-ansible that does our ansible-test sanity suite

Support

The Ansible Forum can be used for additional questions and issues related to this collection.

License

GNU General Public License v3.0 or later.

See the LICENSE to see the full text.

About

Ansible Collection to support operational aspects of OpenShift Virtualization

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors