Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morbidick/ansible-role-certbot
Install certbot and manage certificates with ansible
https://github.com/morbidick/ansible-role-certbot
acme ansible ansible-role certbot letsencrypt
Last synced: 14 days ago
JSON representation
Install certbot and manage certificates with ansible
- Host: GitHub
- URL: https://github.com/morbidick/ansible-role-certbot
- Owner: morbidick
- Created: 2018-04-12T22:26:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-25T11:19:31.000Z (about 1 year ago)
- Last Synced: 2024-11-22T09:15:14.354Z (3 months ago)
- Topics: acme, ansible, ansible-role, certbot, letsencrypt
- Size: 6.84 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install certbot with Ansible
[![Build Status](https://travis-ci.org/morbidick/ansible-role-certbot.svg?branch=master)](https://travis-ci.org/morbidick/ansible-role-certbot)
Installs certbot and configures certificates. For a complete setup with nginx see [the full example](https://github.com/morbidick/ansible-role-nginx-vhosts/blob/master/webserver.md).
## Requirements
None.
## Example playbook
````yaml
- hosts: all
become: yesroles:
- certbotvars:
certbot_mail: [email protected]
certbot_certs:
- host: example.com
- host: foo.bar
mail: [email protected]
````## Role variables
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](defaults/main.yml)
## Development
You can use the [Vagrantfile](Vagrantfile) for local testing, just install vagrant and virtualbox and execute the following commands:
````bash
vagrant up
vagrant provision
````## License
MIT