try to fix initdb
This commit is contained in:
parent
12f9ad4fa9
commit
6343a69365
@ -35,7 +35,5 @@
|
|||||||
- name: Ensure database is initialized
|
- name: Ensure database is initialized
|
||||||
command: "/usr/pgsql-{{ __postgres_version }}/bin/postgresql-{{ __postgres_version }}-setup initdb"
|
command: "/usr/pgsql-{{ __postgres_version }}/bin/postgresql-{{ __postgres_version }}-setup initdb"
|
||||||
when: not __pgdata_dir_version.stat.exists
|
when: not __pgdata_dir_version.stat.exists
|
||||||
become: true
|
|
||||||
become_user: "{{ postgres_user }}"
|
|
||||||
become: True
|
become: True
|
||||||
become_user: root
|
become_user: root
|
||||||
|
Loading…
Reference in New Issue
Block a user