mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2024-11-14 11:50:06 +00:00
17 lines
315 B
YAML
17 lines
315 B
YAML
---
|
|
- 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
|
|
|
|
- name: Reload Gitea
|
|
systemd:
|
|
name: gitea
|
|
enabled: yes
|
|
state: restarted |