An open API service indexing awesome lists of open source software.

https://github.com/giovtorres/ansible-role-kvm

Ansible Role - KVM
https://github.com/giovtorres/ansible-role-kvm

ansible hypervisor kvm libvirt role virtualization

Last synced: over 1 year ago
JSON representation

Ansible Role - KVM

Awesome Lists containing this project

README

          

Ansible Role: kvm
=================

[![Build Status](https://travis-ci.org/giovtorres/ansible-role-kvm.svg?branch=master)](https://travis-ci.org/giovtorres/ansible-role-kvm)
[![Ansible Role](https://img.shields.io/ansible/role/19071.svg)](https://galaxy.ansible.com/giovtorres/kvm/)

Installs the KVM hypervisor and additional virtualization packages. Supported on EL7.

Requirements
------------

The CPU on the server must have support for hardware virtualization extensions. See [here](https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/sect-System_requirements-KVM_requirements.html) for more information.

Role Variables
--------------

Enable the libvirtd management daemon:

kvm_enable_libvirtd: yes

Suspend active libvirt guests on host shutdown:

kvm_enable_libvirt_guests: yes

Enable Kernel same-page merging:

kvm_enable_ksm: yes

Enable the NUMA, the automatic NUMA affinity management daemon:

kvm_enable_numad: yes

Dependencies
------------

None.

Example Playbook
----------------

- hosts: servers
roles:
- giovtorres.kvm

License
-------

BSD