This commit is contained in:
2021-05-20 20:08:54 +02:00
commit bc72c32c23
13 changed files with 668 additions and 0 deletions

25
variables.tf Normal file
View File

@@ -0,0 +1,25 @@
variable "libvirt_disk_path" {
description = "path for libvirt pool"
default = "/mnt/data1/libvirt_tf_volumes"
#default = "/opt/kvm/pool1"
}
variable "ubuntu_18_img_url" {
description = "ubuntu 18.04 image"
default = "http://cloud-images.ubuntu.com/releases/bionic/release-20191008/ubuntu-18.04-server-cloudimg-amd64.img"
}
variable "vm_hostname" {
description = "vm hostname"
default = "terraform-kvm-ansible"
}
variable "ssh_username" {
description = "the ssh user to use"
default = "ubuntu"
}
variable "ssh_private_key" {
description = "the private key to use"
default = "~/.ssh/id_rsa"
}