restructure

update readme
fix ansible role tags
This commit is contained in:
Pim Kunis 2023-04-13 17:51:54 +02:00
parent 6502f9c514
commit 7f7ae9b91d
24 changed files with 67 additions and 108 deletions

27
terraform/main.tf Normal file
View file

@ -0,0 +1,27 @@
terraform {
backend "pg" {
schema_name = "dmz_dns"
conn_str = "postgres://terraform@10.42.0.1/terraform_state"
}
required_providers {
libvirt = {
source = "dmacvicar/libvirt"
}
template = {
source = "hashicorp/template"
}
}
}
provider "libvirt" {
uri = "qemu+ssh://root@atlas.lan/system"
}
module "vm" {
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
name = "hermes"
use_host_cert = false
fixed_address = "192.168.30.7/24"
mac = "CA:FE:C0:FF:EE:07"
}