mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Raw refactoring of roles
This commit is contained in:
5
roles/docker-gitea/meta/schema.yml
Normal file
5
roles/docker-gitea/meta/schema.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
credentials:
|
||||
database_password:
|
||||
description: "Password for the Gitea database user"
|
||||
algorithm: "bcrypt"
|
||||
validation: "^\\$2[aby]\\$.{56}$"
|
11
roles/docker-gitea/vars/configuration.yml
Normal file
11
roles/docker-gitea/vars/configuration.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
version: "latest" # Use latest docker image
|
||||
configuration:
|
||||
repository:
|
||||
enable_push_create_user: True # Allow users to push local repositories to Gitea and have them automatically created for a user.
|
||||
default_private: last # Default private when creating a new repository: last, private, public
|
||||
default_push_create_private: True # Default private when creating a new repository with push-to-create.
|
||||
features:
|
||||
matomo: true
|
||||
css: true
|
||||
landingpage_iframe: true
|
||||
central_database: true
|
@@ -1,3 +1,3 @@
|
||||
application_id: "gitea"
|
||||
database_password: "{{gitea_database_password}}"
|
||||
database_password: "{{applications[application_id].credentials.database_password}}"
|
||||
database_type: "mariadb"
|
Reference in New Issue
Block a user