[postgresql_server] Grant datanommer_ro access to datanommer2 db
The datanommer_ro user was created in the task, but never got privilege to read from datanommer2 db. This commit is fixing that. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
8b3d4cd54e
commit
ae6c2b6508
1 changed files with 7 additions and 0 deletions
|
@ -75,6 +75,13 @@
|
||||||
owner: "{{ datanommerDBUser }}"
|
owner: "{{ datanommerDBUser }}"
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
|
|
||||||
|
- name: grant datanommer_ro read only access to datanommer2
|
||||||
|
postgresql_privs:
|
||||||
|
database: datanommer2
|
||||||
|
privs: SELECT
|
||||||
|
objs: ALL_IN_SCHEMA
|
||||||
|
roles: datanommer_ro
|
||||||
|
|
||||||
# Enable timescaledb
|
# Enable timescaledb
|
||||||
- name: enable timescaledb
|
- name: enable timescaledb
|
||||||
postgresql_ext:
|
postgresql_ext:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue