1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

add option to specify extra configuration

This commit is contained in:
Simeon Keske 2020-12-05 21:10:23 +01:00 committed by Thomas Maurice
parent 8af72e355e
commit aa75493677
3 changed files with 4 additions and 0 deletions

View file

@ -61,6 +61,7 @@ The following code has been tested with Debian 8, it should work on Ubuntu as we
* `gitea_home`: Base directory to work * `gitea_home`: Base directory to work
* `gitea_dl_url`: The URL, the compiled gitea-binary will be downloaded from * `gitea_dl_url`: The URL, the compiled gitea-binary will be downloaded from
* `gitea_systemd_cap_net_bind_service`: Adds `AmbientCapabilities=CAP_NET_BIND_SERVICE` to systemd service file * `gitea_systemd_cap_net_bind_service`: Adds `AmbientCapabilities=CAP_NET_BIND_SERVICE` to systemd service file
* `gitea_extra_config`: Additional configuration
### Look and feel ### Look and feel

View file

@ -80,3 +80,5 @@ gitea_repo_indexer_include: ""
gitea_repo_indexer_exclude: "" gitea_repo_indexer_exclude: ""
gitea_repo_exclude_vendored: true gitea_repo_exclude_vendored: true
gitea_repo_indexer_max_file_size: 1048576 gitea_repo_indexer_max_file_size: 1048576
gitea_extra_config: ""

View file

@ -194,3 +194,4 @@ JWT_SECRET = {{ gitea_oauth2_jwt_secret }}
ENABLED = {{ gitea_metrics_enabled }} ENABLED = {{ gitea_metrics_enabled }}
TOKEN = {{ gitea_metrics_token }} TOKEN = {{ gitea_metrics_token }}
{{ gitea_extra_config }}