Manage the visibility of the explore pages.
This commit is contained in:
parent
a78b15747f
commit
8a8e92435a
|
@ -5,7 +5,7 @@
|
|||
# We use the server ssh daemon, and nginx in front of the service by default.
|
||||
# So we do not start in http mode and we do not use the embedded letsencrypt support
|
||||
#
|
||||
gitea_version: 1.14.0
|
||||
gitea_version: 1.14.1
|
||||
gitea_download_url: 'https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64'
|
||||
gitea_bin_path: /usr/local/bin/gitea
|
||||
|
||||
|
@ -63,6 +63,8 @@ gitea_cache_provider: memcache
|
|||
gitea_cache_host: '127.0.0.1:11211'
|
||||
gitea_session_provider: redis
|
||||
gitea_session_config: 'network=tcp,addr=127.0.0.1:6379,db=0,pool_size=100,idle_timeout=180'
|
||||
gitea_require_signin_view: 'false'
|
||||
gitea_users_page_enabled: 'false'
|
||||
|
||||
gitea_prometheus_metrics: False
|
||||
#gitea_prometheus_bearer_token: put it into a vault file
|
||||
|
|
|
@ -21,7 +21,15 @@
|
|||
register: gitea_app_ini
|
||||
|
||||
- name: Change the gitea configuration. After the installation
|
||||
ini_file: path={{ gitea_conf_dir }}/app.ini section={{ item.section }} option={{ item.option }} value={{ item.value }} state={{ item.state }} owner={{ gitea_user }} group={{ gitea_group }} mode=0640 create=no
|
||||
ini_file:
|
||||
path: '{{ gitea_conf_dir }}/app.ini section={{ item.section }}'
|
||||
option: '{{ item.option }}'
|
||||
value: '{{ item.value }}'
|
||||
state: '{{ item.state }}'
|
||||
owner: '{{ gitea_user }}'
|
||||
group: '{{ gitea_group }}'
|
||||
mode: '0640'
|
||||
create: no
|
||||
with_items: '{{ gitea_app_configurations }}'
|
||||
when:
|
||||
- gitea_app_ini.stat.exists
|
||||
|
|
|
@ -35,6 +35,10 @@ INSTALL_LOCK = {{ gitea_install_lock }}
|
|||
DISABLE_REGISTRATION = {{ gitea_disable_registration }}
|
||||
NO_REPLY_ADDRESS = {{ gitea_mail_from }}
|
||||
|
||||
[service.explore]
|
||||
REQUIRE_SIGNIN_VIEW = {{ gitea_require_signin_view }}
|
||||
DISABLE_USERS_PAGE = {{ gitea_users_page_enabled }}
|
||||
|
||||
{% if gitea_mailer_enabled %}
|
||||
[mailer]
|
||||
ENABLED = true
|
||||
|
|
Loading…
Reference in New Issue