Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/n1k0r/ansible-role-certbot
- Owner: n1k0r
- Created: 2024-04-01T09:19:43.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-04-01T09:34:00.000Z (8 months ago)
- Last Synced: 2024-04-03T22:27:48.337Z (8 months ago)
- Topics: administration, ansible, ansible-role, certbot, deployment, letsencrypt, linux, server, ssl-certificates
- Language: Jinja
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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: mainsub:
domains: ["sub.domain.org"] # webroot method
```Webserver have to expose folder `certbot.webroot` as `/.well-known/acme-challenge/` for all managed domains.