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