grant schema permission
This commit is contained in:
1 parent
1477554a35
commit
8b3f83a385
1 file changed
+9
@@ -41,3 +41,12 @@
|
||||
obj: "{{ postgresql_database }}"
|
||||
role: "{{ postgresql_username }}"
|
||||
become_user: postgres
|
||||
|
||||
- name: Grant all privs on schema public to user
|
||||
community.postgresql.postgresql_privs:
|
||||
db: "{{ postgresql_database }}"
|
||||
privs: ALL
|
||||
type: schema
|
||||
obj: public
|
||||
role: "{{ postgresql_username }}"
|
||||
become_user: postgres
|
||||
Reference in new issue
Block a user