ansible-role-gitea/tasks/install_systemd.yml

16 lines
281 B
YAML
Raw Permalink Normal View History

---
2017-01-10 15:09:34 -06:00
- name: "Setup systemd service"
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"
systemd:
daemon_reload: true