From 667c375a9de53f74dd079f12517c3df109485c82 Mon Sep 17 00:00:00 2001 From: Jens Timmerman Date: Mon, 7 Sep 2020 22:02:04 +0200 Subject: [PATCH] Update install_systemd.yml --- tasks/install_systemd.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/install_systemd.yml b/tasks/install_systemd.yml index d58be7b..6607472 100644 --- a/tasks/install_systemd.yml +++ b/tasks/install_systemd.yml @@ -9,3 +9,8 @@ notify: - "Reload systemd" - "Restart gitea" + +# systemd to be reloaded the first time because it is the only way Systemd is going to be aware of the new unit file. +- name: "Reload systemd" + systemd: + daemon_reload: true