ansible-role-certificates/templates/letsencrypt_renew_config.j2
2020-07-04 12:19:48 +02:00

11 lines
532 B
Django/Jinja

#!/bin/bash
export LETSENCRYPT_CHALLENGE_SERVERS="{{ cert_backend.challengeserver|join(' ') }}"
export LETSENCRYPT_CSR="{{ cert.csrpath }}"
export LETSENCRYPT_CRT="{{ cert.certpath }}"
export LETSENCRYPT_KEY="{{ cert.keypath }}"
export LETSENCRYPT_CHAIN="{{ cert.chainpath }}"
export LETSENCRYPT_FULL="{{ cert.fullpath }}"
export LETSENCRYPT_TOKEN="/etc/letsencrypt/cert_{{ certname }}.token"
export LETSENCRYPT_SERVICES="{{ cert.depending_services|join(' ') }}"
export LETSENCRYPT_REMAININGDAYS="{{ cert_backend.remainingdays }}"