gitea/tasks/main.yml

25 lines
408 B
YAML
Raw Permalink Normal View History

2023-10-07 00:11:59 +03:00
---
- name: Gitea | Install package
package:
name: gitea
state: present
- name: Gitea | Deploy config
2023-10-07 11:46:34 +03:00
template:
2023-10-07 00:11:59 +03:00
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