diff --git a/tasks/configure.yml b/tasks/configure.yml index 3d96b15..28504a5 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -16,7 +16,7 @@ group: "{{ postgresql_group }}" mode: 0600 notify: restart postgresql - when: postgresql_hba_entries | bool + when: postgresql_hba_entries | length > 0 - name: Ensure PostgreSQL unix socket dirs exist. file: