Installs certbot and configures certificates. For a complete setup with nginx see the full example.
None.
- hosts: all
become: yes
roles:
- certbot
vars:
certbot_mail: me@example.com
certbot_certs:
- host: example.com
- host: foo.bar
mail: overwrite@mail.com
None of the variables below are required.
Variable | Default | Comment |
---|---|---|
certbot_mail | required the account email | |
certbot_certs | [] |
list of certs to request |
For all options see defaults/main.yml
You can use the Vagrantfile for local testing, just install vagrant and virtualbox and execute the following commands:
vagrant up
vagrant provision
MIT