[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:
Michal Konečný 2023-03-30 14:10:28 +02:00 committed by zlopez
parent 8b3d4cd54e
commit ae6c2b6508

View file

@ -75,6 +75,13 @@
owner: "{{ datanommerDBUser }}"
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
- name: enable timescaledb
postgresql_ext: