2023-07-25 08:49:15 +00:00
|
|
|
---
|
|
|
|
# Defaults
|
|
|
|
gerrit_user: "git"
|
|
|
|
gerrit_group: "git"
|
|
|
|
gerrit_version: "3.8.1"
|
|
|
|
#gerrit_home_dir: "/opt/gerrit-{{ gerrit_version }}"
|
|
|
|
gerrit_home_dir: "/opt/gerrit"
|
|
|
|
gerrit_site: "rlgitsvc"
|
|
|
|
gerrit_container_user: "{{ gerrit_user }}"
|
|
|
|
gerrit_container_heap_limit: "1g"
|
|
|
|
gerrit_container_java_options: "-server -XX:+PrintGCDetails -XX:MaxPermSize=256M"
|
2023-07-25 22:43:32 +00:00
|
|
|
gerrit_build_container: false
|
|
|
|
gerrit_container_java_options_docker: " -Djava.security.egd=file:/dev/./urandom --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED"
|
2023-07-25 08:49:15 +00:00
|
|
|
|
|
|
|
gerrit_database_type: "postgresql"
|
|
|
|
gerrit_database_user: "gerrit"
|
|
|
|
gerrit_database_name: "gerrit"
|
|
|
|
gerrit_database_password: "gerrit"
|
|
|
|
gerrit_database_host: "localhost"
|
|
|
|
|
|
|
|
gerrit_allow_insecure_passwords: false
|
|
|
|
|
|
|
|
# Gerrit vars
|
|
|
|
gerrit_config_base_path: "git"
|
2023-07-25 09:43:32 +00:00
|
|
|
gerrit_config_canonical_domain: "git.rockylinux.org"
|
2023-07-25 08:49:15 +00:00
|
|
|
gerrit_config_canonical_weburl: "https://git.rockylinux.org"
|
|
|
|
|
|
|
|
# Gerrit index. Default LUCENE
|
|
|
|
gerrit_index_type: "LUCENE"
|
|
|
|
|
|
|
|
# Gerrit auth type
|
|
|
|
gerrit_auth_type: "LDAP"
|
|
|
|
|
|
|
|
# Gerrit sshd
|
|
|
|
gerrit_sshd_listen_address: "*:22220"
|
|
|
|
gerrit_sshd_threads: "32"
|
|
|
|
|
|
|
|
# Gerrit httpd
|
2023-07-25 09:43:32 +00:00
|
|
|
reverse_proxy: "httpd"
|
|
|
|
cert_owner: "{{ 'nginx' if reverse_proxy == 'nginx' else 'apache' }}"
|
2023-07-25 08:49:15 +00:00
|
|
|
gerrit_httpd_listen_url: "proxy-https://127.0.0.1:8080/"
|
2023-07-25 09:23:31 +00:00
|
|
|
gerrit_httpd_proxy_url: "http://127.0.0.1:8080/"
|
2023-07-25 08:49:15 +00:00
|
|
|
gerrit_referenced_objects_reachable: false
|
|
|
|
|
|
|
|
# Gerrit setup
|
|
|
|
gerrit_directories:
|
|
|
|
- "{{ gerrit_home_dir }}/{{ gerrit_site }}/etc"
|
|
|
|
- "{{ gerrit_home_dir }}/{{ gerrit_site }}/lib"
|
|
|
|
- "{{ gerrit_home_dir }}/{{ gerrit_site }}/static"
|
|
|
|
- "{{ gerrit_home_dir }}/{{ gerrit_site }}/hooks"
|
|
|
|
- "{{ gerrit_home_dir }}/{{ gerrit_site }}/plugins"
|
|
|
|
- "{{ gerrit_home_dir }}/{{ gerrit_site }}/cache"
|
|
|
|
|
|
|
|
# oauth if enabled
|
|
|
|
oauth_base_url: "https://accounts.rockylinux.org/auth"
|
|
|
|
oauth_realm: "rocky"
|
|
|
|
oauth_client_id: "gerrit"
|
|
|
|
oauth_client_secret: "NONE"
|
|
|
|
|
|
|
|
# ldap if enabled
|
|
|
|
ldap_url_list:
|
|
|
|
- ldap://ipa-us-east-2.rockylinux.org
|
2023-07-25 09:23:31 +00:00
|
|
|
|
|
|
|
# Use freeipa CA
|
|
|
|
tls_use_internal_freeipa: true
|
2023-07-25 08:49:15 +00:00
|
|
|
...
|