diff --git a/testvm.tf b/testvm.tf index 1b13d76..367042f 100644 --- a/testvm.tf +++ b/testvm.tf @@ -37,10 +37,10 @@ resource "proxmox_lxc" "test2" { ip = "192.168.0.64/24" gw = "192.168.0.1" } - - module "ansible_setup" { - source = "./modules/ansible_setup.tf" - hostname = "test2" - ip = "192.168.0.64" - } +} + +module "ansible_setup" { + source = "./modules/ansible_setup.tf" + hostname = "test2" + ip = "192.168.0.64" } diff --git a/wikmd.tf b/wikmd.tf index fc24529..ab9b20e 100644 --- a/wikmd.tf +++ b/wikmd.tf @@ -37,10 +37,10 @@ resource "proxmox_lxc" "wikmd" { ip = "192.168.0.56/24" gw = "192.168.0.1" } - - module "ansible_setup" { - source = "./ansible_setup.tf" - hostname = "wikmd" - ip = "192.168.0.56" - } +} + +module "ansible_setup" { + source = "./ansible_setup.tf" + hostname = "wikmd" + ip = "192.168.0.56" }