add playbook

This commit is contained in:
Benedikt Penner
2026-03-14 20:43:35 +01:00
parent 6d479e5934
commit 6820ba29c3
7 changed files with 76 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
resource "local_file" "ansible_inventory" {
content = templatefile("${path.module}/templates/inventory.yml.tftpl", {
galera_servers = proxmox_vm_qemu.galera
bastion = proxmox_vm_qemu.jumphost
})
filename = "${path.module}/../inventory/terraform_hosts.yml"
}