Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rudolfolah/ansible-role-letsencryptssl

Ansible role for generating SSL certificates using certbot
https://github.com/rudolfolah/ansible-role-letsencryptssl

ansible-galaxy ansible-role ansible-role-certbot ansible-role-template ansible-roles certbot lets-encrypt letsencrypt letsencrypt-utils

Last synced: about 2 months ago
JSON representation

Ansible role for generating SSL certificates using certbot

Awesome Lists containing this project

README

        

letsencryptssl
=========

Ansible role for setting up certbot and creating a certificate for a domain.

```mermaid
graph TB
A[Install certbot] -- setup --> B((Create symlink for Certbot binary))
B -- generate_cert --> C(Check if the certificate was already generated)
C -- generate_cert --> D(Generate certificate manually)
```

Requirements
------------

To use this role, you need to install the `snap` community role. You can install it using the following command:

```shell
ansible-galaxy collection install community.general
```

Role Variables
--------------

The role uses the following parameters:

- `email`: The email address to use for the certificate.
- `domain`: The domain for which the certificate should be created.

Dependencies
------------

This role depends on the following collections:

- `community.general`
- `community.general.snap`

Example Playbook
----------------

Here's an example playbook that shows how to use the role:

```yaml
- hosts: servers
roles:
- role: letsencryptssl
email: [email protected]
domain: example.com
```

License
-------

This role is licensed under the MIT License.

Author Information
------------------

This role was created by Rudolf Olah.