Subject: [ansible-project] how to set python interpreter between different roles


First, I would use 'defaults/main.yml' instead of vars, it has lower
precedence, also look into:

roles:
   - name: X
     vars:
         ansible_python_intepreter: /path/x

or set in block inside the role that needs it, which would keep it
from bleeding over.

Role vars/ and defaults/ are meant to be inserted in rest of play, if
you do not want that behaviour, you should use other ways to declare
that variable.
--
----------
Brian Coca

--
To post to this group, send email to [EMAIL PROTECTED].