try to fix initdb

This commit is contained in:
Robert Kaussow 2018-10-16 00:37:44 +02:00
parent 12f9ad4fa9
commit 6343a69365
1 changed files with 0 additions and 2 deletions

View File

@ -35,7 +35,5 @@
- name: Ensure database is initialized
command: "/usr/pgsql-{{ __postgres_version }}/bin/postgresql-{{ __postgres_version }}-setup initdb"
when: not __pgdata_dir_version.stat.exists
become: true
become_user: "{{ postgres_user }}"
become: True
become_user: root