2019-03-16 12:51:32 +01:00
|
|
|
---
|
2017-01-10 22:09:34 +01:00
|
|
|
- name: "Setup systemd service"
|
2021-03-22 21:21:25 +01:00
|
|
|
become: true
|
2021-03-22 21:28:51 +01:00
|
|
|
ansible.builtin.template:
|
2017-01-10 22:09:34 +01:00
|
|
|
src: gitea.service.j2
|
2024-01-25 00:02:38 +01:00
|
|
|
dest: "{{ gitea_systemd_path }}/gitea.service"
|
2023-05-06 17:38:08 +02:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
|
|
|
notify:
|
|
|
|
- "Reload systemd"
|
|
|
|
- "Restart gitea"
|
|
|
|
|
2020-09-07 22:02:04 +02:00
|
|
|
- name: "Reload systemd"
|
2021-03-22 21:21:25 +01:00
|
|
|
become: true
|
2021-03-22 21:28:51 +01:00
|
|
|
ansible.builtin.systemd:
|
2020-09-07 22:02:04 +02:00
|
|
|
daemon_reload: true
|