Hello,

I am trying to use the postgresql_user function to create and grant privs 
on the user. Im getting failure messages relating to the priv.

- postgresql_user: name=bobby password={{ pg_dd_password }} 
db=pg_stat_database priv=SELECT state=present

What I want basically to do is the following 

create user bobby with password 'some_password';
grant SELECT ON pg_stat_database to bobby;

I think my issue is that pg_stat_database isnt really a database or a 
table, but a collection of views, if I am understanding postgresql 
correctly.

Any help is appreciated. 

-- 
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/b0fed6a7-4571-4c1e-b9ca-1aa8cc760699%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to