nrec-ansible/project/roles/gitea/tasks/main.yml
Torjus Håkestad f6fc85fa7e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Fix typo in gitea role
2022-01-12 21:43:19 +01:00

22 lines
421 B
YAML

---
- name: Create gitea.service
ansible.builtin.template:
src: gitea.service.j2
dest: /etc/systemd/system/gitea.service
notify:
- Reload systemd
- Restart gitea
- name: Flush handlers
meta: flush_handlers
- name: Ensure service is started
ansible.builtin.systemd:
state: started
name: gitea
- name: Ensure service is enabled
ansible.builtin.systemd:
enabled: yes
name: gitea