Open qiaofeng1227 opened 2 years ago
why diban10 use python2 interupter, please read the ENV INTERPRETER_PYTHON_DISTRO_MAP
and you can refer to: https://sleeplessbeastie.eu/2020/02/07/how-to-instruct-ansible-to-use-specific-version-of-python/
you can change python env by edit this file
/usr/lib/python2.7/site-packages/ansible/config/base.yml
how to edit on ansible.cfg: https://github.com/ansible/ansible/issues/76112