fix issue for migration
This commit is contained in:
parent
3533dd23b7
commit
ddcb35ec31
@ -20,7 +20,7 @@
|
||||
register: pgdata_dir_version
|
||||
|
||||
- name: Ensure PostgreSQL database is initialized.
|
||||
command: "{{ postgresql_bin_path }}/initdb -D {{ postgresql_data_dir }}"
|
||||
command: "{{ postgresql_bin_path }}/initdb -D {{ postgresql_data_dir }} -E UTF8 --locale=fr_FR.UTF-8"
|
||||
when: not pgdata_dir_version.stat.exists
|
||||
become: true
|
||||
become_user: "{{ postgresql_user }}"
|
||||
|
Loading…
Reference in New Issue
Block a user