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 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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/bf1cf17c-2a14-479b-a134-9e179f964e2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to