python3 /usr/bin/ansible $cmd
/edit: there is actually a source for that, go figure: http://docs.ansible.com/ansible/latest/python_3_support.html
/edit: there is actually a source for that, go figure: http://docs.ansible.com/ansible/latest/python_3_support.html
if you're using plain `ansible` from the repos or pip, you're using python2.