gitea: open up registration

This commit is contained in:
Ryan Cavicchioni 2022-08-30 07:13:05 -05:00
parent 59c5347ffb
commit 37ec31b97d
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
2 changed files with 7 additions and 3 deletions

View File

@ -48,13 +48,11 @@ gitea_config:
root_path: /var/log/gitea
mode: file
access: file
macaron: file
router: file
redirect_macaron_log: true
log.console:
colorize: no
service:
disable_registration: yes
register_manual_confirm: true
gitea_var_tree:
- "{{ gitea_var_path }}"

View File

@ -49,6 +49,12 @@
notify:
- restart gitea
- name: set environment
lineinfile:
path: /etc/environment
regexp: ^GITEA_WORK_DIR
line: "GITEA_WORK_DIR=\"{{ gitea_var_path }}\""
- name: configure systemd unit
template:
src: gitea.service.j2