copr-backend: another Let's Encrypt attempt

Revert "copr-backend: temporary revert"

This reverts commit 2415c05d89.
This commit is contained in:
Pavel Raiskup 2022-02-04 15:33:26 +01:00
parent 2415c05d89
commit 2aa1a52321
2 changed files with 9 additions and 11 deletions

View file

@ -30,15 +30,15 @@ frontend_base_url: "https://copr.fedorainfracloud.org"
host_backup_targets: ['/var/lib/copr/public_html/results']
# consumed by roles/copr/certbot
#letsencrypt:
# certificates:
# copr-be.cloud.fedoraproject.org:
# challenge_dir: /var/lib/copr/public_html
# domains:
# - copr-be-dev.cloud.fedoraproject.org
# mail: coprteam@fedoraproject.org
#
# predefined_deploy_script: lighttpd
letsencrypt:
certificates:
copr-be.cloud.fedoraproject.org:
challenge_dir: /var/lib/copr/public_html
domains:
- copr-be-dev.cloud.fedoraproject.org
mail: coprteam@fedoraproject.org
predefined_deploy_script: lighttpd
# consumed by roles/messaging/base
messaging:

View file

@ -119,8 +119,6 @@
- name: letsencrypt cert
include_role: name=copr/certbot
when:
- devel|bool
# When we have birthday for backend, we use a temporary copr-be-dev-temp
# hostname for it and we don't want to generate a certificate for that.
- birthday is not defined