mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user