Skip to content

Commit f5be8f5

Browse files
jchancojrhunleyd
andauthored
fix(setup-postgres.yml): fix missing initdb calls (#1924)
* fix(setup-postgres.yml): fix missing initdb calls * refactor(ansible): update vars.yml for ami testing --------- Co-authored-by: Douglas J Hunley <doug.hunley@gmail.com>
1 parent 73c1922 commit f5be8f5

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
@@ -242,7 +242,7 @@
242242
become: true
243243
become_user: 'postgres'
244244
ansible.builtin.command:
245-
cmd: /usr/lib/postgresql/bin/pg_ctl -D /var/lib/postgresql/data initdb -o "--allow-group-access" -o "--username=supabase_admin"
245+
cmd: /usr/lib/postgresql/bin/pg_ctl -D /var/lib/postgresql/data initdb -o "--allow-group-access" -o "--username=supabase_admin" -o "--data-checksums"
246246
environment:
247247
LANG: en_US.UTF-8
248248
LANGUAGE: en_US.UTF-8
@@ -259,7 +259,7 @@
259259
become: true
260260
become_user: 'postgres'
261261
ansible.builtin.command:
262-
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"
262+
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"
263263
environment:
264264
LANG: en_US.UTF-8
265265
LANGUAGE: en_US.UTF-8

0 commit comments

Comments
 (0)