First release

This commit is contained in:
2023-10-07 00:11:59 +03:00
parent b8a3f62fc7
commit 6f4efc3c51
4 changed files with 63 additions and 0 deletions

24
tasks/main.yml Normal file
View File

@@ -0,0 +1,24 @@
---
- name: Gitea | Install package
package:
name: gitea
state: present
- name: Gitea | Deploy config
copy:
src: app.ini.j2
dest: /etc/gitea/app.ini
mode: 0600
owner: gitea
group: gitea
notify: Gitea | Restart
- name: Gitea | Run handlers
meta: flush_handlers
- name: Gitea | Enable and start service
service:
name: gitea
state: started
enabled: yes