From 5ed8f2342f4b8a7ce8dad50ccf5ddebd830f9164 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Fri, 20 Sep 2013 16:48:36 +0200 Subject: [PATCH] Test another way to call createdb --- roles/nuancier/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/nuancier/tasks/main.yml b/roles/nuancier/tasks/main.yml index 895efab5ce..fc1127c73d 100644 --- a/roles/nuancier/tasks/main.yml +++ b/roles/nuancier/tasks/main.yml @@ -38,7 +38,8 @@ - setup - name: create the database scheme - command: NUANCIER_CONFIG=/etc/nuancier/nuancier-lite.cfg /usr/bin/python2 /usr/share/nuancier/nuancier-lite_createdb.py + command: /usr/bin/python2 /usr/share/nuancier/nuancier-lite_createdb.py + environment: NUANCIER_CONFIG=/etc/nuancier/nuancier-lite.cfg - name: replace the nuancier configuration file by the one with the normal user template: src={{ item.file }}