No Description
Raoul 948b4fbaa6
Fix readme
11 months ago
defaults Simplify debian mirror spec 11 months ago
tasks Use command module for ssh key generation 11 months ago
templates Simplify debian mirror spec 11 months ago
readme.md Fix readme 11 months ago

readme.md

KVM_install

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

Variables

External variables for example from group_vars:

  • Domain: ‘example.com’

  • IPv4_prefix: ‘192.0.2.’

  • IPv4_netmask: ‘255.255.255.0’

  • IPv4_gateway: ‘192.0.2.1’

  • 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.

Files

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

  • files/ssh_public_keys/{{ ansible_local_user_ssh_key }}