ansible-role-certificates/templates/letsencrypt_renew_config.j2

11 lines
522 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 }}"
export LETSENCRYPT_REMAININGDAYS="{{ cert_backend.remainingdays }}"