From 0ef359f2fb1284932ea73530bb2b94b9cc27b91a Mon Sep 17 00:00:00 2001 From: jens Date: Fri, 27 Aug 2021 12:41:44 +0000 Subject: [PATCH] Update 'tasks/main.yml' --- tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) 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 }}"