On 07.02.17 23:46 Shyam Yenna wrote:
> I am getting below error while trying to use module
> postgresql_user. I want to create a new user account in postgresql.
> but i am unable to create user account with become_user postgres or
> commenting that line is

Addition to my first mail:

As ansible does not allow chaining sudo (become root and then become
postgres), does sudo allow your user to become postgres directly?
Although I think your error is due to the become_user statements
syntax or placement, not in the authentication logic. But once you get
the ansible play to work, you might run into authentication issues...

Johannes

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/123d35cc-a346-0dc1-e69e-97f23f57ff52%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to