File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 184184 when :
185185 - (debpkg_mode or nixpkg_mode)
186186 block :
187- - name : Create symlink to /usr/lib/postgresql/bin
188- ansible.builtin.command :
189- cmd : ln -sf /usr/lib/postgresql/{{ postgresql_major }}/bin /usr/lib/postgresql/bin
190- # ansible.builtin.file:
191- # force: true
192- # path: '/usr/lib/postgresql/bin'
193- # src: "/usr/lib/postgresql/{{ postgresql_major }}/bin"
194- # state: 'link'
195-
196187 - name : Create directory on data volume
197188 ansible.builtin.file :
198189 group : ' postgres'
213204 become : true
214205 become_user : ' postgres'
215206 ansible.builtin.command :
216- cmd : /usr/lib/postgresql/bin/initdb -D /var/lib/postgresql/data initdb --allow-group-access --username=supabase_admin"
207+ cmd : /usr/lib/postgresql/{{ postgresql_major }}/ bin/initdb -D /var/lib/postgresql/data --allow-group-access --username=supabase_admin"
217208 vars :
218209 ansible_command_timeout : 60
219210 when :
241232 become : true
242233 become_user : ' postgres'
243234 ansible.builtin.command :
244- cmd : /usr/lib/postgresql/bin/initdb -D /var/lib/postgresql/data --allow-group-access --username=supabase_admin
235+ cmd : /usr/lib/postgresql/{{ postgresql_major }}/ bin/initdb -D /var/lib/postgresql/data --allow-group-access --username=supabase_admin
245236 environment :
246237 LANG : en_US.UTF-8
247238 LANGUAGE : en_US.UTF-8
258249 become : true
259250 become_user : ' postgres'
260251 ansible.builtin.command :
261- cmd : /usr/lib/postgresql/bin/initdb -D /var/lib/postgresql/data --allow-group-access --username=supabase_admin --locale-provider=icu --encoding=UTF-8 --icu-locale=en_US.UTF-8
252+ cmd : /usr/lib/postgresql/{{ postgresql_major }}/ bin/initdb -D /var/lib/postgresql/data --allow-group-access --username=supabase_admin --locale-provider=icu --encoding=UTF-8 --icu-locale=en_US.UTF-8
262253 environment :
263254 LANG : en_US.UTF-8
264255 LANGUAGE : en_US.UTF-8
You can’t perform that action at this time.
0 commit comments