In the end, putting everything on one line did the trick. I think this is 
because \ in Python escapes only characters, not carriage returns.

Thanks!
________________________________________
From: ansible-project@googlegroups.com <ansible-project@googlegroups.com> on 
behalf of Brian Coca <bc...@ansible.com>
Sent: 29 November 2015 04:46
To: Ansible Project
Subject: Re: [ansible-project] "No escaped character" in inventory file

I don't believe the hosts file supports \ line continuations, try this
as your hosts file:

default  ansible_ssh_host="127.0.0.1"  ansible_ssh_port="2202"
ansible_ssh_user="vagrant"
ansible_ssh_private_key_file=".vagrant/machines/default/virtualbox/private_key"


--
Brian Coca

--
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3D4iqc68nUGWiHCny%2BPnWH7equfHVHL6vBT1z1D-uyE9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1448816786543.58%40ajlanghorn.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to