diff --git a/roles/gitea/defaults/main.yml b/roles/gitea/defaults/main.yml index 2390e39..e075475 100644 --- a/roles/gitea/defaults/main.yml +++ b/roles/gitea/defaults/main.yml @@ -1,6 +1,6 @@ --- -gitea_version: "1.21.5" +gitea_version: "1.22.2" gitea_user: git gitea_run_user: "{{ gitea_user }}" gitea_base_path: "/opt/gitea" @@ -42,10 +42,10 @@ gitea_container_base_labels: gitea_config_mailer_enabled: false gitea_config_mailer_type: ~ gitea_config_mailer_from_addr: ~ -gitea_config_mailer_host: ~ +gitea_config_mailer_smtp_addr: ~ gitea_config_mailer_user: ~ gitea_config_mailer_passwd: ~ -gitea_config_mailer_tls: ~ +gitea_config_mailer_protocol: ~ gitea_config_mailer_sendmail_path: ~ gitea_config_metrics_enabled: false diff --git a/roles/gitea/vars/main.yml b/roles/gitea/vars/main.yml index 77f6094..1eabca9 100644 --- a/roles/gitea/vars/main.yml +++ b/roles/gitea/vars/main.yml @@ -24,11 +24,11 @@ gitea_config_base: mailer: ENABLED: "{{ gitea_config_mailer_enabled }}" MAILER_TYP: "{{ gitea_config_mailer_type }}" - HOST: "{{ gitea_config_mailer_host }}" + SMTP_ADDR: "{{ gitea_config_mailer_smtp_addr }}" USER: "{{ gitea_config_mailer_user }}" PASSWD: "{{ gitea_config_mailer_passwd }}" - IS_TLS_ENABLED: "{{ gitea_config_mailer_tls }}" - FROM: "{{ gitea_config_mailer_from_addr }}" + PROTOCOL: "{{ gitea_config_mailer_protocol }}" + FROM: "{{ gitea_config_mailer_from }}" SENDMAIL_PATH: "{{ gitea_config_mailer_sendmail_path }}" metrics: ENABLED: "{{ gitea_config_metrics_enabled }}"