mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-08-26 09:31:26 +02:00
Checks if email is given
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user