Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bfabc38a46 | ||
|
818626b236
|
12
README.org
12
README.org
@@ -2,7 +2,7 @@
|
|||||||
#+AUTHOR: DeadSwitch | The Silent Architect
|
#+AUTHOR: DeadSwitch | The Silent Architect
|
||||||
#+OPTIONS: toc:nil num:nil \n:t
|
#+OPTIONS: toc:nil num:nil \n:t
|
||||||
|
|
||||||
[[https://opensource.org/licenses/MIT][https://img.shields.io/badge/license-MIT-blue.svg]] [[https://img.shields.io/badge/version-3.0.1-green.svg]]
|
[[https://opensource.org/licenses/MIT][https://img.shields.io/badge/license-MIT-blue.svg]] [[https://img.shields.io/badge/version-3.0.2-green.svg]]
|
||||||
|
|
||||||
* ds-gitea
|
* ds-gitea
|
||||||
|
|
||||||
@@ -36,11 +36,11 @@ gitea_user: git
|
|||||||
gitea_group: git
|
gitea_group: git
|
||||||
gitea_http_port: 3000
|
gitea_http_port: 3000
|
||||||
gitea_ssh_port: 22
|
gitea_ssh_port: 22
|
||||||
gitea_database_server: ''
|
|
||||||
gitea_reverse_proxy: ''
|
|
||||||
gitea_require_signin_view: true
|
gitea_require_signin_view: true
|
||||||
gitea_disable_registration: true
|
gitea_disable_registration: true
|
||||||
gitea_register_manual_confirm: false
|
gitea_register_manual_confirm: false
|
||||||
|
gitea_enable_captcha: false
|
||||||
|
gitea_default_keep_email_private: true
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Requirements
|
* Requirements
|
||||||
@@ -57,7 +57,7 @@ gitea_register_manual_confirm: false
|
|||||||
* Variables
|
* Variables
|
||||||
|
|
||||||
| Variable | Type | Comment |
|
| Variable | Type | Comment |
|
||||||
|-------------------------------+---------+--------------------------------------------------|
|
|----------------------------------+---------+--------------------------------------------------|
|
||||||
| gitea_user | string | Gitea user |
|
| gitea_user | string | Gitea user |
|
||||||
| gitea_group | string | Gitea group |
|
| gitea_group | string | Gitea group |
|
||||||
| gitea_binary_url | string | Download URL of Gitea |
|
| gitea_binary_url | string | Download URL of Gitea |
|
||||||
@@ -84,6 +84,8 @@ gitea_register_manual_confirm: false
|
|||||||
| gitea_require_signin_view | boolean | If false, public repos are visible without login |
|
| gitea_require_signin_view | boolean | If false, public repos are visible without login |
|
||||||
| gitea_disable_registration | boolean | Turn off the user registration feature |
|
| gitea_disable_registration | boolean | Turn off the user registration feature |
|
||||||
| gitea_register_manual_confirm | boolean | Registration requires admin verification |
|
| gitea_register_manual_confirm | boolean | Registration requires admin verification |
|
||||||
|
| gitea_enable_captcha | boolean | Enable captcha for registration |
|
||||||
|
| gitea_default_keep_email_private | boolean | Default email policy: private |
|
||||||
|
|
||||||
* Handlers
|
* Handlers
|
||||||
|
|
||||||
@@ -107,6 +109,8 @@ Then re-run the playbook to finish the installation.
|
|||||||
|
|
||||||
* Example Playbook
|
* Example Playbook
|
||||||
|
|
||||||
|
You can find more playbook examples in the =examples= directory.
|
||||||
|
|
||||||
#+begin_src yaml
|
#+begin_src yaml
|
||||||
- name: Deploy a Gitea server
|
- name: Deploy a Gitea server
|
||||||
hosts: gitea
|
hosts: gitea
|
||||||
|
|||||||
@@ -4,3 +4,7 @@ gitea_group: git
|
|||||||
gitea_http_port: 3000
|
gitea_http_port: 3000
|
||||||
gitea_ssh_port: 22
|
gitea_ssh_port: 22
|
||||||
gitea_require_signin_view: true
|
gitea_require_signin_view: true
|
||||||
|
gitea_disable_registration: true
|
||||||
|
gitea_register_manual_confirm: false
|
||||||
|
gitea_enable_captcha: false
|
||||||
|
gitea_default_keep_email_private: true
|
||||||
|
|||||||
@@ -52,9 +52,9 @@ REGISTER_EMAIL_CONFIRM = false
|
|||||||
ENABLE_NOTIFY_MAIL = false
|
ENABLE_NOTIFY_MAIL = false
|
||||||
DISABLE_REGISTRATION = {{ gitea_disable_registration }}
|
DISABLE_REGISTRATION = {{ gitea_disable_registration }}
|
||||||
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
||||||
ENABLE_CAPTCHA = false
|
ENABLE_CAPTCHA = {{ gitea_enable_captcha }}
|
||||||
REQUIRE_SIGNIN_VIEW = {{ gitea_require_signin_view }}
|
REQUIRE_SIGNIN_VIEW = {{ gitea_require_signin_view }}
|
||||||
DEFAULT_KEEP_EMAIL_PRIVATE = false
|
DEFAULT_KEEP_EMAIL_PRIVATE = {{ gitea_default_keep_email_private }}
|
||||||
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
|
||||||
DEFAULT_ENABLE_TIMETRACKING = true
|
DEFAULT_ENABLE_TIMETRACKING = true
|
||||||
NO_REPLY_ADDRESS = noreply.localhost
|
NO_REPLY_ADDRESS = noreply.localhost
|
||||||
|
|||||||
Reference in New Issue
Block a user