generated from sebclem/ansible-role-template
Add handler to restart gitea
This commit is contained in:
parent
3a1266d6a1
commit
cb9b05e61a
@ -1,2 +1,7 @@
|
|||||||
---
|
---
|
||||||
# handlers file for Ansible-Gitea-Role
|
# handlers file for Ansible-Gitea-Role
|
||||||
|
|
||||||
|
- name: Restart Gitea
|
||||||
|
ansible.builtin.service:
|
||||||
|
name: gitea
|
||||||
|
state: restarted
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
mode: "640"
|
mode: "640"
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ gitea_run_user }}"
|
group: "{{ gitea_run_user }}"
|
||||||
|
notify: Restart Gitea
|
||||||
|
|
||||||
- name: Add service file
|
- name: Add service file
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
Loading…
Reference in New Issue
Block a user