force handlers to run after configure pg_hba.conf

This commit is contained in:
Robert Kaussow 2018-10-18 23:02:23 +02:00
parent f96dbc53f7
commit 4bfaf60650
1 changed files with 3 additions and 0 deletions

View File

@ -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 }}"