openpunk-ansible/tasks/gitea.yml

17 lines
315 B
YAML
Raw Normal View History

2022-05-31 04:36:55 +00:00
---
2022-05-30 15:46:36 +00:00
- name: Configure Gitea
template:
src: templates/gitea/app.ini
dest: /etc/gitea/app.ini
owner: gitea
- name: Setup Gitea database
become: yes
become_user: gitea
shell: gitea migrate -c /etc/gitea/app.ini
2022-05-30 15:46:36 +00:00
- name: Reload Gitea
systemd:
name: gitea
enabled: yes
state: restarted