gitea: open up registration
This commit is contained in:
		@@ -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 }}"
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user