title: how to choose a python interpreter for Ansible playbook?
body: <p>I have <code>python2.7</code> and <code>python3.5</code> in my <code>ansible</code> server , while executing playbooks it is using <code>python2.7</code>. I wanted <code>ansible</code> to use <code>python3.5</code> when executing playbooks. </p>
  
  <pre><code> in order:
     1 have set export path.
     2 also changed default interpreter path in ansible.cfg as well.
     3 have given specific interpretor path in hostsfile for particular host.
  </code></pre>
  
  <p>But still, <code>ansible</code> is not running <code>python3</code>.</p>