title: Passing in variables from Terraform to Ansible with spaces
body: <p>Currently I have a tfvars file in json setting key values with spaces. For example:</p>
  
  <pre><code>{
    "customer": "Test Customer",
  }
  </code></pre>
  
  <p>I then pass this variable to a ansible playbook command run locally on the provisioned EC2 host using cloud-config</p>
  
  <p><code>sudo ansible-playbook /Playbook.yml --extra-vars 'customer=${var.customer}'</code></p>
  
  <p>In that playbook I have a license file that I want to propagate with Ansible's template module. Currently the license file will get Test, but not Test Customer (because of the space). How can I fix this?</p>
  
  <p>Also on a second note, is there a better/cleaner way of passing in terraform variables to a ansible playbook command in a Terraform config other than -e extra variables?</p>