Add handler to restart gitea

This commit is contained in:
SebClem 2023-04-16 14:23:58 +02:00
parent 3a1266d6a1
commit cb9b05e61a
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50
2 changed files with 6 additions and 0 deletions

View File

@ -1,2 +1,7 @@
---
# handlers file for Ansible-Gitea-Role
- name: Restart Gitea
ansible.builtin.service:
name: gitea
state: restarted

View File

@ -36,6 +36,7 @@
mode: "640"
owner: root
group: "{{ gitea_run_user }}"
notify: Restart Gitea
- name: Add service file
ansible.builtin.template: