-e "ansible_python_interpreter=x" on the command line works, though you can actually still use group_vars/all
Just put this in a directory alongside your inventory script or playbook and it will load as expected. On Fri, Aug 22, 2014 at 3:43 PM, David Neudorfer < [email protected]> wrote: > Unfortunately this is an ad hoc command so there are no vars and I'm not > using Tower. What is another way to insert this var into my command? > > -- > 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/50d9b882-94d5-484a-a847-cdaf4110090b%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/50d9b882-94d5-484a-a847-cdaf4110090b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > 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/CA%2BnsWgwZMKDwcnkfujksDJXjHpeuAzn%2BUOn9Osa2BUiRsNsSoA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
