I'm having trouble figuring out how I can run a task with 'expect' module in a virtualenv and not have my other tasks run in that virtualenv.
The only way I've found to run an expect task in a virtualenv is to set_fact ansible_python_interpreter, but once I've done that, I cannot unset it, so all python-related tasks that run after that also run in the same virtualenv. Is there some way to set the python interpreter for only a single expect task? I use pew (https://github.com/berdario/pew) for managing virtualenvs, but that is likely not relevant. Thanks, John -- 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/f43d30e0-47d3-43bd-a318-09ae4a1da456%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
