solved by setting
 ansible_python_interpreter: /usr/local/bin/python

On Wednesday, 7 March 2018 22:00:17 UTC, 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 psycog2 is installed on the managed system.
> ansible 2.4.3, python 2.7.10 
> managed system is rhel 7.4
> Have I missed something ?

You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

Reply via email to