mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
17 lines
311 B
YAML
17 lines
311 B
YAML
---
|
|
- name: "Setup systemd service"
|
|
become: true
|
|
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
|
|
systemd:
|
|
daemon_reload: true
|