gitea/tasks/main.yml

25 lines
408 B
YAML

---
- name: Gitea | Install package
package:
name: gitea
state: present
- name: Gitea | Deploy config
template:
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