diff --git a/tasks/timescale_db_deb.yml b/tasks/timescale_db_deb.yml index 41488bd..3011507 100644 --- a/tasks/timescale_db_deb.yml +++ b/tasks/timescale_db_deb.yml @@ -40,6 +40,9 @@ line: "shared_preload_libraries = 'timescaledb'" create: false state: present + notify: Restart postgresql + - name: timescale_db_deb | TimeScaleDB configuration flush handlers + ansible.builtin.meta: flush_handlers - name: timescale_db_deb | PostgreSQL settings for TimeScaleDB become: true become_user: postgres diff --git a/tasks/timescale_db_el.yml b/tasks/timescale_db_el.yml index a9590e0..a84594a 100644 --- a/tasks/timescale_db_el.yml +++ b/tasks/timescale_db_el.yml @@ -27,7 +27,9 @@ line: "shared_preload_libraries = 'timescaledb'" create: false state: present - + notify: Restart postgresql + - name: timescale_db_el | TimeScaleDB configuration flush handlers + ansible.builtin.meta: flush_handlers - name: timescale_db_el | TimeScaleDB setting for postgresql on EL become: true become_user: postgres