run certbot

certbot_on_virtu
Michaël Paulon 2020-12-27 20:03:26 +01:00
parent 293784a5cf
commit 565cf4fcbe
2 changed files with 6 additions and 0 deletions

View File

@ -34,3 +34,6 @@
src: "letsencrypt/conf.d/certname.ini.j2"
dest: "/etc/letsencrypt/conf.d/{{ certbot.certname }}.ini"
mode: 0644
- name: Run certbot
command: certbot --non-interactive --config /etc/letsencrypt/conf.d/{{ certbot.certname }}.ini certonly

View File

@ -15,6 +15,9 @@ email = {{ certbot.mail }}
# Uncomment to use a text interface instead of ncurses
text = True
# Yes I want to sell my soul and my guinea pig.
agree-tos = True
# Use DNS-01 challenge
authenticator = dns-rfc2136
dns-rfc2136-credentials = /etc/letsencrypt/rfc2136.ini