No Description
Raoul 948b4fbaa6
Fix readme
1 year ago
defaults Simplify debian mirror spec 1 year ago
tasks Use command module for ssh key generation 1 year ago
templates Simplify debian mirror spec 1 year ago Fix readme 1 year ago


Ansible role to install Debian based VMs on a KVM enabled host. The storage pool must already exist.


External variables for example from group_vars:

  • Domain: ‘’

  • IPv4_prefix: ‘192.0.2.’

  • IPv4_netmask: ‘’

  • IPv4_gateway: ‘’

  • IPv6_prefix: ‘2001:db8:1111:1111::’

  • IPv6_netmask: ‘ffff:ffff:ffff:ffff::’

  • IPv6_gateway: ‘2001:db8:1111:1111::1’

  • ansible_local_user_ssh_key: SSH key of the user running ansible. This key will be the only way to access the VM after this role terminates. Note: run a ssh role for proper ssh setup.


This role assumes that the following files can be found by ansible:

  • files/ssh_public_keys/{{ ansible_local_user_ssh_key }}