Skip to content

Commit 5e8b04c

Browse files
committed
fix(setup-postgres.yml): fix missing initdb calls
1 parent 1e598fb commit 5e8b04c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ansible/tasks/setup-postgres.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
become: true
241241
become_user: 'postgres'
242242
ansible.builtin.command:
243-
cmd: /usr/lib/postgresql/bin/pg_ctl -D /var/lib/postgresql/data initdb -o "--allow-group-access" -o "--username=supabase_admin"
243+
cmd: /usr/lib/postgresql/bin/pg_ctl -D /var/lib/postgresql/data initdb -o "--allow-group-access" -o "--username=supabase_admin" -o "--data-checksums"
244244
environment:
245245
LANG: en_US.UTF-8
246246
LANGUAGE: en_US.UTF-8
@@ -257,7 +257,7 @@
257257
become: true
258258
become_user: 'postgres'
259259
ansible.builtin.command:
260-
cmd: /usr/lib/postgresql/bin/pg_ctl -D /var/lib/postgresql/data initdb -o "--allow-group-access" -o "--username=supabase_admin" -o "--locale-provider=icu" -o "--encoding=UTF-8" -o "--icu-locale=en_US.UTF-8"
260+
cmd: /usr/lib/postgresql/bin/pg_ctl -D /var/lib/postgresql/data initdb -o "--allow-group-access" -o "--username=supabase_admin" -o "--locale-provider=icu" -o "--encoding=UTF-8" -o "--icu-locale=en_US.UTF-8" -o "--data-checksums"
261261
environment:
262262
LANG: en_US.UTF-8
263263
LANGUAGE: en_US.UTF-8

0 commit comments

Comments
 (0)