From 79ad338ca351d67045ede347ec003b7f269b840b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr> Date: Mon, 23 Jul 2018 18:13:09 +0200 Subject: [PATCH] correct postgresql installation ansible Former-commit-id: 26432a367c9bf07d370e976f00942e100c7e4dde --- ansible/deploy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ansible/deploy.yaml b/ansible/deploy.yaml index 5470b4bd..9716c8f9 100644 --- a/ansible/deploy.yaml +++ b/ansible/deploy.yaml @@ -54,8 +54,9 @@ state: present become: true - name: Initiate database - command: service postgresql initdb - creates=/var/lib/pgsql/data/postgresql.conf + command: service postgresql initdb + args: + creates: /var/lib/pgsql/data/postgresql.conf - name: Start PostgreSQL and enable at boot service: name=postgresql enabled=yes -- GitLab