Skip to content
Snippets Groups Projects
Verified Commit 443a03b2 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed some DB issues

parent b28434c7
No related branches found
No related tags found
No related merge requests found
......@@ -36,8 +36,11 @@
command: psql -c "GRANT ALL PRIVILEGES ON DATABASE {{ funkwhale_database_name }} TO {{ funkwhale_database_user }}"
- name: "Create unaccent extension"
- name: "Create db extensions"
when: funkwhale_database_managed
become: true
become_user: postgres
command: psql {{ funkwhale_database_name }} -c "CREATE EXTENSION IF NOT EXISTS unaccent"
command: psql {{ funkwhale_database_name }} -c "CREATE EXTENSION IF NOT EXISTS {{ item }}"
with_items:
- unaccent
- citext
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment