ansible role for gitea
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gnieark 7f00ff8980 fix #1 1 year ago
defaults fix #1 1 year ago
handlers First 1 year ago
tasks fix #1 1 year ago
templates plip 1 year ago
README.md plip 1 year ago

README.md

Ansible role: Gitea

Gitea (front no reverse proxy) with use of embeded let's Encrypt acme.

In our case, we uses Gitea with a mariadb database witch isn't on the same server. This role does not install mariadb.

On templates/gitea.ini file

[oauth2]
JWT_SECRET = 1bBwvwFreUqcVSvPPO7UZ_4ovAGtQI_kIq070ua4Mms

[security]
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE1NjQ0ODU2NTZ9.D5YYxvLXAerBlfq5JKXHLBhhnI4N5KBKW2Mae2EJJb0
INSTALL_LOCK   = true
SECRET_KEY     = xdD1yrkDWNq6LNqTx3bfa3kWOLv8Ew0HOCDzb2QfsJLVpsrcOoPjCA7G9bhTUsVv

Delete them the first time you launch Gitea. It will generate others token / keys.

Edit the defaults/main.yml file to set your own values.