diff --git a/tasks/main.yml b/tasks/main.yml index 5d4f5fe..abf068f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -12,6 +12,11 @@ - include_tasks: initialize.yml - include_tasks: configure.yml +- name: "Reload systemd" + systemd: + daemon_reload: true + when: ansible_service_mgr == "systemd" + - name: Ensure PostgreSQL is started and enabled on boot. service: name: "{{ postgresql_daemon }}"