More fixes
This commit is contained in:
		@@ -13,12 +13,12 @@ gitea_config:
 | 
				
			|||||||
    NAME: gitea
 | 
					    NAME: gitea
 | 
				
			||||||
    USER: root
 | 
					    USER: root
 | 
				
			||||||
  security:
 | 
					  security:
 | 
				
			||||||
    INSTALL_LOCK: false
 | 
					    INSTALL_LOCK: "false"
 | 
				
			||||||
    SECRET_KEY:
 | 
					    SECRET_KEY:
 | 
				
			||||||
    INTERNAL_TOKEN:
 | 
					    INTERNAL_TOKEN:
 | 
				
			||||||
  camo:
 | 
					  camo:
 | 
				
			||||||
  oauth2:
 | 
					  oauth2:
 | 
				
			||||||
    ENABLE: true
 | 
					    ENABLE: "true"
 | 
				
			||||||
  log:
 | 
					  log:
 | 
				
			||||||
    MODE: console
 | 
					    MODE: console
 | 
				
			||||||
    LEVEL: Info
 | 
					    LEVEL: Info
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,8 @@
 | 
				
			|||||||
;; {{ ansible_managed }}
 | 
					;; {{ ansible_managed }}
 | 
				
			||||||
{% for section, settings in gitea_config.items() %}
 | 
					{% for section, settings in gitea_config.items() %}
 | 
				
			||||||
[{{ section }}]
 | 
					[{{ section }}]
 | 
				
			||||||
 | 
					{% set settings = {} if settings == None else settings %}
 | 
				
			||||||
{% for param, value in settings.items() %}
 | 
					{% for param, value in settings.items() %}
 | 
				
			||||||
{{ param }} = {{ value }}
 | 
					{{ param }} = {{ value | d('') }}
 | 
				
			||||||
{% endfor %}
 | 
					{% endfor %}
 | 
				
			||||||
{% endfor %}
 | 
					{% endfor %}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user