diff --git a/postgresql/tasks/configure-access.yml b/postgresql/tasks/configure-access.yml index 4010d181..30154ba1 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' ]