diff options
author | 2024-06-01 20:16:16 +0200 | |
---|---|---|
committer | 2024-06-01 20:16:16 +0200 | |
commit | 3e58e04c04a7afc83f26a6d4cc4589f950ab0388 (patch) | |
tree | 4f8a6e3b43846c13ba228766671856be9908246e /ansible/roles/postgres/tasks | |
parent | Make issuing pg grants configurable (#327) (diff) |
grant correct privileges to site and grafana
Diffstat (limited to 'ansible/roles/postgres/tasks')
-rw-r--r-- | ansible/roles/postgres/tasks/main.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ansible/roles/postgres/tasks/main.yml b/ansible/roles/postgres/tasks/main.yml index 8a210be..eefafb7 100644 --- a/ansible/roles/postgres/tasks/main.yml +++ b/ansible/roles/postgres/tasks/main.yml @@ -77,8 +77,9 @@ database: "{{ grant.database }}" state: "{{ grant.state }}" privs: "{{ grant.privs }}" - objs: "{{ grant.objs }}" + objs: "{{ grant.objs | default(omit) }}" roles: "{{ grant.roles }}" + type: "{{ grant.type }}" when: postgres_grants is defined loop: "{{ postgres_grants }}" loop_control: |