From 4bfaf60650236606e827418896eed12907d655f3 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 18 Oct 2018 23:02:23 +0200 Subject: [PATCH] force handlers to run after configure pg_hba.conf --- tasks/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/config.yml b/tasks/config.yml index da46ef7..7b59af0 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -23,6 +23,9 @@ with_items: "{{ postgresql_users }}" when: item.name == postgres_user +- name: Force all notified handlers to activate pg_hba.conf + meta: flush_handlers + - name: Ensure PostgreSQL users are present postgresql_user: name: "{{ item.name }}"