From 4a280c06d112f34bb039ebcb16e030682a9da8cf Mon Sep 17 00:00:00 2001 From: nd Date: Fri, 14 Sep 2018 03:45:12 +0200 Subject: [PATCH] flush handlers so other roles can use all users created by this role --- tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index db92b84..cbec542 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -31,3 +31,6 @@ become_user: postgres become: true with_dict: "{{ postgresql.users }}" + +- name: flush handlers so postgres is ready before other roles try to use it + meta: flush_handlers