From 31744604517e53b5eed389edd3d5017447fe46dc Mon Sep 17 00:00:00 2001 From: Hugo Peixoto Date: Tue, 24 Oct 2023 11:54:15 +0100 Subject: [PATCH] activa emails no gitea --- 04_container_gitea.yaml | 7 +++++++ host_vars/gitea@lxd.ansol.org | 8 ++++++++ 2 files changed, 15 insertions(+) create mode 100644 host_vars/gitea@lxd.ansol.org diff --git a/04_container_gitea.yaml b/04_container_gitea.yaml index 0bfe519..db0eea3 100644 --- a/04_container_gitea.yaml +++ b/04_container_gitea.yaml @@ -12,6 +12,7 @@ gitea_protocol: http gitea_only_allow_external_registration: true gitea_enable_captcha: false + gitea_enable_notify_mail: true gitea_require_signin: false gitea_show_registration_button: false gitea_start_ssh: true @@ -25,3 +26,9 @@ SSH_LISTEN_PORT = 2222 SSH_USER = git BUILTIN_SSH_SERVER_USER = git + gitea_mailer_enabled: true + gitea_mailer_protocol: smtp+starttls + gitea_mailer_smtp_addr: smtp.netureza.pt + gitea_mailer_user: '{{ smtp_username }}' + gitea_mailer_password: '{{ smtp_password }}' + gitea_mailer_from: '"git.ansol.org" ' diff --git a/host_vars/gitea@lxd.ansol.org b/host_vars/gitea@lxd.ansol.org new file mode 100644 index 0000000..b9cb941 --- /dev/null +++ b/host_vars/gitea@lxd.ansol.org @@ -0,0 +1,8 @@ +$ANSIBLE_VAULT;1.1;AES256 +35313130303563656537363634653234363936613936656332313061373838613331623838623936 +3639633862323237393833393035623864663231356233640a363330396631643238326563303534 +30616434363766613731373932313836356237633630663639616163313131613063663435643363 +3434626566333235640a336231306532653163373333303238656666343538383833386337376161 +32616635336333313835626330306135333637626630313330373433373463306339636165633565 +34336431623234333861643837303138303563336164373930373763346134663866616463353837 +313764393130663764373665333030623131