Skip to content

lukas-bednar/ansible-role-nested-virtualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nested Virtualization

An ansible role to enable or disable Nested Virtualization in KVM on target system.

Recognized CPUs

  • Intel
  • AMD

Requirements

None

Role Variables

---
nested_virtualization_state: present / absent

Dependencies

None

Example Playbook

---
# Enable nested virtualization on your servers
- hosts: servers
  roles:
    - role: "nested-virtualization"

# Disable nested virtualization on your servers
- hosts: servers
  roles:
    - role: "nested-virtualization"
      nested_virtualization_state: "absent"

License

GPLv3

Author Information

Lukas Bednar