You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use ansible_python_interpreter: /usr/bin/python3 for pip3 tasks
An error is possible when using default ansible_python_interpreter:
TASK [patroni : Install setuptools] ********************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No module named pkg_resources
fatal: [10.172.0.21]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (setuptools) on pgnode02's Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}
0 commit comments