This repository has been archived on 2023-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
max/main.tf

28 lines
637 B
Terraform
Raw Permalink Normal View History

2023-04-12 13:43:59 +00:00
terraform {
backend "pg" {
schema_name = "max"
conn_str = "postgres://terraform@10.42.0.1/terraform_state"
}
required_providers {
libvirt = {
source = "dmacvicar/libvirt"
}
}
}
provider "libvirt" {
uri = "qemu+ssh://root@atlas.lan/system"
}
module "tf-datatest" {
2023-04-12 16:19:10 +00:00
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
name = "max2"
domain_name = "tf-max"
data_disk = "/kvm/data/max-data"
fixed_address = "192.168.30.66/24"
ansible_command = "ansible-playbook max.yml"
insecure_password = true
memory = 1024 * 8
2023-04-12 13:43:59 +00:00
}