grant schema permission
This commit is contained in:
parent
1477554a35
commit
8b3f83a385
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user