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

Added missing DB queries

parent b387b2d9
No related branches found
No related tags found
No related merge requests found
pytestdebug.log
source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -28,3 +28,16 @@
postgresql_user:
db: "{{ funkwhale_database_name }}"
name: "{{ funkwhale_database_user }}"
- name: "Grant privileges on database {{ funkwhale_database_name }} to {{ funkwhale_database_user }} user"
when: funkwhale_database_managed
become: true
become_user: postgres
command: psql -c "GRANT ALL PRIVILEGES ON DATABASE {{ funkwhale_database_name }} TO {{ funkwhale_database_user }}"
- name: "Create unaccent extension"
when: funkwhale_database_managed
become: true
become_user: postgres
command: psql {{ funkwhale_database_name }} -c "CREATE EXTENSION IF NOT EXISTS unaccent"
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