Registers and generates certificates

This commit is contained in:
Nikolaos Kakouros
2017-09-06 20:24:42 +02:00
parent f00a0ba181
commit 11aa29849a
3 changed files with 29 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
---
- name: Register with Let's Encrypt
command: "{{ certbot_register_command }}"
- name: Generate certificates
command: "{{ certbot_cert_command }} -d {{ certbot_domains | join(' -d ') }}"
+3
View File
@@ -7,5 +7,8 @@
- include: install-from-source.yml
when: certbot_install_from_source
- include: generate-certs.yml
when: certbot_handle_certs
- include: renew-cron.yml
when: certbot_auto_renew