terraform-inventory
terraform-inventory copied to clipboard
set ansible_python_interpreter
I'm creating CoreOS cluster through Terraform and to provision this machines with ansible i need to set ansible_python_interpreter in the inventory file. Is there a way to set this variable with terraform-inventory?
Hey, I did this by creating the following outputs in my terraform master:
output "ansible_ssh_user" { value = "core" }
output "ansible_python_interpreter" { value = "PATH=/home/core/bin:$PATH python" }
looks like you can override any of the ansible_* settings this way