library/roles/postgresql/tasks/configure-access.yml: Fix a variable that can be undefined.

This commit is contained in:
Andrea Dell'Amico 2016-06-27 13:38:11 +02:00
parent e2464cb85a
commit 2641b4d863
1 changed files with 1 additions and 1 deletions

View File

@ -75,5 +75,5 @@
service: name=postgresql state=restarted service: name=postgresql state=restarted
when: when:
- postgresql_enabled - postgresql_enabled
- restart_postgresql.changed - ( restart_postgresql is defined ) and ( restart_postgresql | changed )
tags: [ 'postgresql', 'postgres', 'pg_hba', 'pg_conf' ] tags: [ 'postgresql', 'postgres', 'pg_hba', 'pg_conf' ]