back to basics
This commit is contained in:
10
testvm.tf
10
testvm.tf
@@ -37,10 +37,8 @@ resource "proxmox_lxc" "test2" {
|
||||
ip = "192.168.0.64/24"
|
||||
gw = "192.168.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
module "ansible_setup_test2" {
|
||||
source = "./modules/ansible_setup"
|
||||
hostname = "test2"
|
||||
ip = "192.168.0.64"
|
||||
|
||||
provisioner "local-exec" {
|
||||
command = "curl -k -X POST https://192.168.0.143:5000/setupansible/test2/192.168.0.64 -H "Authorization: Bearer ${flask_token}"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user