Add gitea
This commit is contained in:
10
roles/gitea/tasks/gitea.yml
Normal file
10
roles/gitea/tasks/gitea.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: gitea - install
|
||||
package: name={{ item }}
|
||||
with_items:
|
||||
- git-all
|
||||
- gitea
|
||||
|
||||
- name: gitea - /etc/gitea.conf
|
||||
template: dest=/etc/gitea.conf src=gitea.conf.j2 owner=root group=root mode=0644
|
||||
notify: restart gitea
|
||||
3
roles/gitea/tasks/main.yml
Normal file
3
roles/gitea/tasks/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
- include_tasks: gitea.yml
|
||||
tags: [ gitea ]
|
||||
Reference in New Issue
Block a user