solved by setting
ansible_python_interpreter: /usr/local/bin/python
On Wednesday, 7 March 2018 22:00:17 UTC, gearo...@gmail.com wrote:
>
> psycog2 has beeen installed using ansible pip module.
>
> The postgresql_user module fails with a message saying psycog2 is required.
>
> pip list shows that
I found that with /usr/bin/python I cannot import psycopg2, but with
/usr/local/bin/python I can. Guess there's two python envs on my managed
host.
On Wednesday, 7 March 2018 22:00:17 UTC, gearo...@gmail.com wrote:
>
> psycog2 has beeen installed using ansible pip module.
>
> The postgresql_use