Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/n1k0r/ansible-role-certbot

Certbot role for Ansible
https://github.com/n1k0r/ansible-role-certbot

administration ansible ansible-role certbot deployment letsencrypt linux server ssl-certificates

Last synced: 3 days ago
JSON representation

Certbot role for Ansible

Awesome Lists containing this project

README

        

# Certbot role for Ansible

## Variables

```yaml
certbot:
email: [email protected]
after_renew:
- "{{ nginx_scripts.reload }}"
webroot: "/var/www/acme" # used for webroot method
accounts: # used for dns method
main:
type: cloudflare # only cloudflare supported
email: [email protected]
api_key: 286755fad04869ca523320acce0dc6a43320a
certs:
example: # dict key used for folders name
domains: ["example.com", "*.example.com"] # dns method
account: main

sub:
domains: ["sub.domain.org"] # webroot method
```

Webserver have to expose folder `certbot.webroot` as `/.well-known/acme-challenge/` for all managed domains.