No it didn't earlier. On Tue, Mar 25, 2014 at 8:42 PM, James Tanner <[email protected]> wrote: > Does the remote host have ansible_python_interpreter set in your inventory? > > On Mar 25, 2014, at 10:42 AM, Mehul Ved <[email protected]> wrote: > >> On Tue, Mar 25, 2014 at 8:00 PM, Petros Moisiadis <[email protected]> wrote: >>> The syntax error you get could be caused by a python 3 interpreter being >>> used at the target machine instead of python 2. This is a common error >>> when running ansible on target machines running Archlinux because the >>> default python interpreter (at /usr/bin/python) on Arch is actually the >>> python3 interpreter. In these cases you should set the >>> "ansible_python_interpreter" variable for the affected hosts to the >>> correct path ("/usr/bin/python2" for archlinux). >> >> That did fix the problem. I was assuming that isn't required when you >> install using virtualenv. Everything else has been working fine so >> far, this was the first thing I ran into an issue with while using >> ansible from virtualenv. Should this be considered a bug? If so, I'll >> open a new ticket on github. >> >> >> -- >> With Regards, >> Mehul Ved >> >> -- >> 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 [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/CADTL0oa_a8fK4GkB-yeoN5bDM1SZxpzHruJsyUPNU2t4Of8KEw%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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/384C2C57-0262-44F5-9499-E8D7A6E19D72%40gmail.com. > For more options, visit https://groups.google.com/d/optout.
-- With Regards, Mehul Ved -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CADTL0oY3ptpkBXdpJJ17CzMHsBs_03f%3DC4jCzJDzaOxNoC-teg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
