File tree Expand file tree Collapse file tree 2 files changed +21
-14
lines changed Expand file tree Collapse file tree 2 files changed +21
-14
lines changed Original file line number Diff line number Diff line change 229
229
- name : Initialize the database stage2_nix (orioledb)
230
230
become : yes
231
231
become_user : postgres
232
- shell : source /var/lib/postgresql/.bashrc && /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"
233
- args :
234
- executable : /bin/bash
232
+ cmd : >
233
+ source /var/lib/postgresql/.bashrc && /usr/lib/postgresql/bin/pg_ctl -D /var/lib/postgresql/data initdb \
234
+ -o "--allow-group-access" \
235
+ -o "--username=supabase_admin" \
236
+ -o "--locale-provider=icu" \
237
+ -o "--encoding=UTF-8" \
238
+ -o "--icu-locale=en_US.UTF-8" \
239
+ -o "--lc-collate=en-US-x-icu" \
240
+ -o "--lc-ctype=en-US-x-icu"
235
241
environment :
236
242
LANG : en_US.UTF-8
237
243
LANGUAGE : en_US.UTF-8
Original file line number Diff line number Diff line change 50
50
when : is_psql_oriole and stage2_nix
51
51
become : yes
52
52
53
- - name : Add ICU locale settings
54
- ansible.builtin.lineinfile :
55
- path : /etc/postgresql/postgresql.conf
56
- line : " {{ item }}"
57
- state : present
58
- with_items :
59
- - " lc_collate = 'en-US-x-icu'"
60
- - " lc_ctype = 'en-US-x-icu'"
61
- - " icu_locale = 'en-US'"
62
- when : is_psql_oriole and stage2_nix
63
- become : yes
53
+ # TODO PR may need to remove this.
54
+ # - name: Add ICU locale settings
55
+ # ansible.builtin.lineinfile:
56
+ # path: /etc/postgresql/postgresql.conf
57
+ # line: "{{ item }}"
58
+ # state: present
59
+ # with_items:
60
+ # - "lc_collate = 'en-US-x-icu'"
61
+ # - "lc_ctype = 'en-US-x-icu'"
62
+ # - "icu_locale = 'en-US'"
63
+ # when: is_psql_oriole and stage2_nix
64
+ # become: yes
64
65
65
66
- name : Install Git for Nix package management
66
67
become : yes
You can’t perform that action at this time.
0 commit comments