Checks if email is given

This commit is contained in:
Nikolaos Kakouros
2017-09-06 22:15:15 +02:00
parent 133935d5af
commit 5ef3c252df
2 changed files with 9 additions and 1 deletions
+6
View File
@@ -1,5 +1,11 @@
---
- name: Make sure we have an email
assert:
that:
- "certbot_register_email is defined"
msg: "You need to provide an email address you own to register with Let's Encrypt."
- name: Register with Let's Encrypt
command: "{{ certbot_register_command }}"