From 6343a69365a6a709b696e2affb1ca0b0fc4efa14 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 16 Oct 2018 00:37:44 +0200 Subject: [PATCH] try to fix initdb --- tasks/install.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index 92bf0be..6ab8432 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -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