You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
382 B
13 lines
382 B
---
|
|
|
|
- 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 }}"
|
|
|
|
- name: Generate certificates
|
|
command: "{{ certbot_cert_command }} -d {{ certbot_domains | join(' -d ') }}"
|
|
|