diff --git a/modules/ansible_setup.tf b/modules/ansible_setup.tf index 01bcbe1..20a2db1 100644 --- a/modules/ansible_setup.tf +++ b/modules/ansible_setup.tf @@ -6,11 +6,6 @@ variable "ip" { type = string } -variable "flask_token" { - type = string - sensitive = true -} - resource "null_resource" "ansible_setup" { provisioner "local-exec" { command = "curl -k -X POST https://192.168.0.143:5000/setupansible/${var.hostname}/${var.ip} -H \"Authorization: Bearer ${var.flask_token}\""