diff --git a/tasks/RedHat/data_dir.yaml b/tasks/RedHat/data_dir.yaml index b049e2e..9316976 100644 --- a/tasks/RedHat/data_dir.yaml +++ b/tasks/RedHat/data_dir.yaml @@ -17,3 +17,9 @@ [Service] Environment=PGDATA={{ postgresql_data_dir }} notify: Restart PostgreSQL + +- name: Systemd daemon-reload + systemd: + name: "{{ postgresql_unit_name }}" + daemon_reload: yes +