title: System specific variables in ansible
body: <p>Ansible expects python 2. On my system (Arch Linux), "python" is Python 3, so I have to pass <code>-e "ansible_python_interpreter=/usr/bin/python2"</code> with every command.</p>
  
  <pre><code>ansible-playbook my-playbook.yml -e "ansible_python_interpreter=/usr/bin/python2"
  </code></pre>
  
  <p>Is there a away to set <code>ansible_python_interpreter</code> globally on my system, so I don't have to pass it to every command? I don't want to add it to my playbooks, as not all systems that runs the playbook has a setup similar to mine.</p>