You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Eugene Zamriy
2af76fe3f4
|
11 months ago | |
---|---|---|
.. | ||
defaults | 11 months ago | |
handlers | 11 months ago | |
meta | 11 months ago | |
tasks | 11 months ago | |
templates | 11 months ago | |
README.md | 11 months ago |
README.md
msvsphere.ci.gitea_binary
An Ansible role that installs Gitea from an official binary.
Variables
Variable | Default value | Type | Description | Required |
---|---|---|---|---|
gitea_binary_version | "1.21.2" | str | Gitea version. | no |
gitea_binary_url | "https://dl.gitea.com/gitea/{{ gitea_binary_version }}/gitea-{{ gitea_binary_version }}-linux-amd64" | str | Gitea binary download URL. | no |
gitea_binary_checksum | "https://dl.gitea.com/gitea/{{ gitea_binary_version }}/gitea-{{ gitea_binary_version }}-linux-amd64.sha256" | str | Gitea binary SHA256 checksum file URL. | no |
gitea_binary_system_user | "git" | str | Gitea system user name. | no |
gitea_binary_system_group | "git" | str | Gitea system group name. | no |
gitea_db_name | "gitea" | str | Gitea PostgreSQL database name. | no |
gitea_db_user | "gitea" | str | Gitea PostgreSQL database user. | no |
gitea_db_password | str | Gitea PostgreSQL database user password. | yes | |
gitea_domain_name | str | Gitea server domain name. | yes | |
gitea_admin_user | "gitadmin" | str | Gitea administrator user name. | no |
gitea_admin_password | str | Gitea administrator user password. | yes | |
gitea_admin_email | "{{ gitea_admin_user }}@{{ gitea_domain_name }}" | str | Gitea administrator user e-mail. | no |
gitea_app_name | "MSVSphere Git Server" | str | Gitea application name (page title). | no |
gitea_binary_ca_cert_path | str | Gitea certificate authority certificate path. | yes | |
gitea_binary_cert_path | str | Gitea certificate path. | yes | |
gitea_binary_cert_key_path | str | Gitea certificate key path. | yes | |
gitea_binary_cert_chain_path | str | Gitea certificate chain path. | yes |
Example playbook
---
- hosts: all
roles:
- role: msvsphere.ci.gitea_binary
gitea_domain_name: 'git.msvsphere.test'
gitea_db_password: 'P@s$w0Rd'
gitea_admin_password: 'p@S$W0rD'
gitea_binary_ca_cert_path: /etc/pki/koji/koji-ca.crt
gitea_binary_cert_path: "/etc/pki/koji/{{ gitea_domain_name }}.crt"
gitea_binary_cert_key_path: "/etc/pki/koji/{{ gitea_domain_name }}.key"
gitea_binary_cert_chain_path: "/etc/pki/koji/{{ gitea_domain_name }}.crt"
License
MIT.