gitea: open up registration
This commit is contained in:
parent
59c5347ffb
commit
37ec31b97d
@ -48,13 +48,11 @@ gitea_config:
|
|||||||
root_path: /var/log/gitea
|
root_path: /var/log/gitea
|
||||||
mode: file
|
mode: file
|
||||||
access: file
|
access: file
|
||||||
macaron: file
|
|
||||||
router: file
|
router: file
|
||||||
redirect_macaron_log: true
|
|
||||||
log.console:
|
log.console:
|
||||||
colorize: no
|
colorize: no
|
||||||
service:
|
service:
|
||||||
disable_registration: yes
|
register_manual_confirm: true
|
||||||
|
|
||||||
gitea_var_tree:
|
gitea_var_tree:
|
||||||
- "{{ gitea_var_path }}"
|
- "{{ gitea_var_path }}"
|
||||||
|
@ -49,6 +49,12 @@
|
|||||||
notify:
|
notify:
|
||||||
- restart gitea
|
- restart gitea
|
||||||
|
|
||||||
|
- name: set environment
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/environment
|
||||||
|
regexp: ^GITEA_WORK_DIR
|
||||||
|
line: "GITEA_WORK_DIR=\"{{ gitea_var_path }}\""
|
||||||
|
|
||||||
- name: configure systemd unit
|
- name: configure systemd unit
|
||||||
template:
|
template:
|
||||||
src: gitea.service.j2
|
src: gitea.service.j2
|
||||||
|
Loading…
Reference in New Issue
Block a user