homeserver/roles/l3d.gitea/tasks/install_systemd.yml
mg 7e6284bc4f gitea: replace role (#519)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #519
2023-04-25 16:25:50 +02:00

17 lines
343 B
YAML

---
- name: "Setup systemd service"
become: true
ansible.builtin.template:
src: gitea.service.j2
dest: /lib/systemd/system/gitea.service
owner: root
group: root
mode: 0644
notify:
- "Reload systemd"
- "Restart gitea"
- name: "Reload systemd"
become: true
ansible.builtin.systemd:
daemon_reload: true