Ansible Role - Certbot (for Let's Encrypt)
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.
|
|
|
---
|
|
|
|
|
|
|
|
- name: Make sure we have an email
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- "certbot_register_email is not empty"
|
|
|
|
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 ') }}"
|