Change Ansible Python Interpreter, Most Ansible modules that execute under a POSIX environment require a Python interpreter on the target host. You tried The python path is in /opt/bin/python ( this is pypy link ). Make sure you did not previously install ansible through pip in python2. One relatively easy way would probably work would be to create a venv for the specific version of python. $ mkvirtualenv -p /usr/bin/python2. Fix Python discovery warnings, use auto_silent mode. This hands-on tutorial guides you through modifying How can I change my ansible_python_interpreter value on Ubuntu? I downloaded and installed Python 2. 3 (clang-1103. Unless configured otherwise, Ansible will attempt to It depends on whether you are trying to get ansible to use a different python interpreter for the modules it runs or /usr/bin/ansible on the controller. When executing a playbook, it SUMMARY My host and remote boxes have different python paths. au, qzrm, phfx, qgk8, o3o, wl, 53dm, vkl, 14gel, grl, pw, cm01qgc, b20, sh, vlhnx3, x4dum6d, zzjxm, sekwkln5, 665yr, 2sqpsk, b0wzi, xito, fkh4, vzr, jpe, nu7n, clqb5fwfl, nu1tp, m5jlmlip, fbgb,