add playbook
This commit is contained in:
7
glusterfs/terraform/inventory.tf
Normal file
7
glusterfs/terraform/inventory.tf
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user