add gitea

This commit is contained in:
genofire 2020-09-18 11:15:15 +00:00
parent 0fe815ffa2
commit bff7609ec4
7 changed files with 56 additions and 0 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "roles/gitea"]
path = roles/gitea
url = https://github.com/thomas-maurice/ansible-role-gitea.git

5
gitea.yml Normal file
View file

@ -0,0 +1,5 @@
---
- hosts: gitea
become: yes
roles:
- gitea

View file

@ -31,6 +31,23 @@ bhyve_guests:
ram: 1G ram: 1G
cpus: 1 cpus: 1
image: debian-10.5.0-amd64-netinst.iso image: debian-10.5.0-amd64-netinst.iso
order:
- ISO
- DISKS
disks:
- name: disk
properties:
volsize: 32g
volblocksize: 64k
primarycache: metadata
- name: gitea
index: 2
enabled: true
ram: 1G
cpus: 1
password: foobar
image: debian-10.5.0-amd64-netinst.iso
order: order:
- DISKS - DISKS
disks: disks:

View file

@ -0,0 +1,27 @@
vm_index: 2
gitea_version: "1.12.4"
gitea_app_name: "dev.ccchb.de"
gitea_ssh_domain: "dev.ccchb.de"
gitea_http_domain: "dev.ccchb.de"
gitea_root_url: "https://dev.ccchb.de"
gitea_http_listen: "[::]"
gitea_http_port: 443
gitea_systemd_cap_net_bind_service: true
gitea_protocol: "https"
gitea_http_letsencrypt_mail: "webmaster@ccchb.de"
gitea_ssh_listen: "[::]"
gitea_ssh_port: 2222
gitea_start_ssh: true
# Don't use a public CDN for frontend assets
gitea_offline_mode: true
gitea_disable_gravatar: true
gitea_enable_captcha: false
user_mgmt:
genofire:
state: present
groups: sudo

2
hosts/10_gitea Normal file
View file

@ -0,0 +1,2 @@
[gitea]
gitea.emma.ccchb.de

View file

@ -3,3 +3,4 @@ dn42.emma.ccchb.de
[debian:children] [debian:children]
nextcloud nextcloud
gitea

1
roles/gitea Submodule

@ -0,0 +1 @@
Subproject commit f2c8610cc41bad258076ea8df664da228ed467b6