grant schema permission

This commit is contained in:
Alexander Gabriel 2023-06-25 00:24:59 +02:00
parent 1477554a35
commit 8b3f83a385

View File

@ -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