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

View File

@ -23,6 +23,9 @@
with_items: "{{ postgresql_users }}" with_items: "{{ postgresql_users }}"
when: item.name == postgres_user when: item.name == postgres_user
- name: Force all notified handlers to activate pg_hba.conf
meta: flush_handlers
- name: Ensure PostgreSQL users are present - name: Ensure PostgreSQL users are present
postgresql_user: postgresql_user:
name: "{{ item.name }}" name: "{{ item.name }}"