Red Hat: Automate your RHV Configuration with Ansible
As many of you are aware, Red Hat Virtualization (RHV) provides ways to access its functionality via REST APIs or SDKs (Python, Java, Ruby), and recently Ansible has also joined this growing list.
Red Hat Virtualization 4.1 and later now includes support for the Ansible automation tool. Ansible can be used to configure systems, deploy software, and perform rolling updates. Ansible provides modules that allow you to automate RHV post-installation tasks such as data center setup and configuration, managing users, or virtual machine operations. For more information about Ansible, see the Ansible documentation.
RHV also includes a number of Ansible roles that will help you configure and manage various parts of the RHV infrastructure. Ansible roles provide a method of modularizing Ansible code into smaller, reusable files that can be shared with other users.
Ansible is installed with Red Hat Hat Virtualization Manager, and the roles and its accompanying documentation and examples can be installed separately. Documentation is available to help you get started using Ansible with the Ansible roles in RHV. See Automating Configuration Tasks using Ansible.
Note: Ansible Tower is a graphically enabled framework accessible through a web interface and REST APIs for Ansible. If you want support for Ansible Tower, then you must have an Ansible Tower license, which is not part of the Red Hat Virtualization subscription.
Read the entire article here, Automate your RHV Configuration with Ansible – Red Hat Enterprise Linux Blog
Via the fine folks at Red Hat.