From 2641b4d863342b37670150bbbe935724d779ff1d Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 27 Jun 2016 13:38:11 +0200 Subject: [PATCH] library/roles/postgresql/tasks/configure-access.yml: Fix a variable that can be undefined. --- postgresql/tasks/configure-access.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgresql/tasks/configure-access.yml b/postgresql/tasks/configure-access.yml index 4010d18..30154ba 100644 --- a/postgresql/tasks/configure-access.yml +++ b/postgresql/tasks/configure-access.yml @@ -75,5 +75,5 @@ service: name=postgresql state=restarted when: - postgresql_enabled - - restart_postgresql.changed + - ( restart_postgresql is defined ) and ( restart_postgresql | changed ) tags: [ 'postgresql', 'postgres', 'pg_hba', 'pg_conf' ]