Skip to content

Commit

Permalink
Allow database user to create databases
Browse files Browse the repository at this point in the history
Since we are importing only parts of another role, we missed to include
this new part after some update. This should give the database user the
permission to create its database again.
  • Loading branch information
mkllnk committed Oct 9, 2023
1 parent 44d6496 commit d9b11f2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions roles/dbserver/tasks/postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,12 @@
login_password: "{{ db_password }}"
lc_collate: "{{ postgres_encoding }}"
lc_ctype: "{{ postgres_encoding }}"

- include_role:
name: geerlingguy.postgresql
tasks_from: users_props
vars:
postgresql_user: postgres
postgresql_users:
- name: "{{ db_user }}"
role_attr_flags: "{{ db_user_roles }}"

0 comments on commit d9b11f2

Please sign in to comment.