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 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.
There are a multiple reasons to choose Ansible if you need an automation tool for RHV:
- It’s easier to learn than existing SDKs or Rest APIs.
I can vouch for this point; even with my limited programming knowledge, I found it easier to use and get started than existing tools. And even if you are someone that will use it on an ad-hoc basis, it’s simple enough that you come back later and use it with minimum fuss.
- Integration with other Ansible modules.
You only need to look at the list of Ansible modules to see how it can help you integrate or interact with other products.
- Lightweight and scalable.
Ansible is agentless and simply requires an SSH connection with the target systems. Ansible requires Python which is widely used in Linux distros.
- Automatically installed with RHVM 4.1 and later.
Ansible is automatically installed with Red Hat Virtualization Manager 4.1+, but it can also be installed on a separate machine using the RHV repositories. Alternatively, view the Ansible installation instructions for more information.
- Ansible Roles are available to help configure and manage various parts of the RHV infrastructure.
Red Hat provides multiple roles in the ovirt-ansible-roles package that can be used to manage various parts of the RHV infrastructure, which makes using Ansible even easier.
I encourage you to try RHV and Ansible if you have the proper RHV version. If you are not a RHV customer, feel free to download and install the 60-day evaluation version and start trying out some simple playbooks and roles for yourself.
Sobre o autor
Navegue por canal
Automação
Últimas novidades em automação de TI para empresas de tecnologia, equipes e ambientes
Inteligência artificial
Descubra as atualizações nas plataformas que proporcionam aos clientes executar suas cargas de trabalho de IA em qualquer ambiente
Nuvem híbrida aberta
Veja como construímos um futuro mais flexível com a nuvem híbrida
Segurança
Veja as últimas novidades sobre como reduzimos riscos em ambientes e tecnologias
Edge computing
Saiba quais são as atualizações nas plataformas que simplificam as operações na borda
Infraestrutura
Saiba o que há de mais recente na plataforma Linux empresarial líder mundial
Aplicações
Conheça nossas soluções desenvolvidas para ajudar você a superar os desafios mais complexos de aplicações
Programas originais
Veja as histórias divertidas de criadores e líderes em tecnologia empresarial
Produtos
- Red Hat Enterprise Linux
- Red Hat OpenShift
- Red Hat Ansible Automation Platform
- Red Hat Cloud Services
- Veja todos os produtos
Ferramentas
- Treinamento e certificação
- Minha conta
- Suporte ao cliente
- Recursos para desenvolvedores
- Encontre um parceiro
- Red Hat Ecosystem Catalog
- Calculadora de valor Red Hat
- Documentação
Experimente, compre, venda
Comunicação
- Contate o setor de vendas
- Fale com o Atendimento ao Cliente
- Contate o setor de treinamento
- Redes sociais
Sobre a Red Hat
A Red Hat é a líder mundial em soluções empresariais open source como Linux, nuvem, containers e Kubernetes. Fornecemos soluções robustas que facilitam o trabalho em diversas plataformas e ambientes, do datacenter principal até a borda da rede.
Selecione um idioma
Red Hat legal and privacy links
- Sobre a Red Hat
- Oportunidades de emprego
- Eventos
- Escritórios
- Fale com a Red Hat
- Blog da Red Hat
- Diversidade, equidade e inclusão
- Cool Stuff Store
- Red Hat Summit