# Ansible Role Certbot ## Table of content * [Role variables](#variables) * [`certbot_email`](#variable-certbot_email) * [`certbot_domain`](#variable-certbot_domain) * [`certbot_molecule`](#variable-certbot_molecule) ## Role variables The following variables can be configured for this role: | Variable | Type | Required | Default | Description (abstract) | |----------|------|----------|---------|------------------------| | `certbot_email` | `str` | Yes | N/A | E-mail to register the certificate. | | `certbot_domain` | `str` | Yes | N/A | Domain name to register the certificate. | | `certbot_molecule` | `bool` | No | `false` | Run the role with Ansible Molecule.

Disable cert generation in the CI. | ### `certbot_email` [*⇑ Back to ToC ⇑*](#toc) E-mail to register the certificate. - **Type**: `str` - **Required**: Yes ### `certbot_domain` [*⇑ Back to ToC ⇑*](#toc) Domain name to register the certificate. - **Type**: `str` - **Required**: Yes ### `certbot_molecule` [*⇑ Back to ToC ⇑*](#toc) Run the role with Ansible Molecule. Disable cert generation in the CI. - **Type**: `bool` - **Required**: No - **Default**: `false` ## Usage Playbook example: ```yaml - hosts: all roles: - jriou.general.certbot ``` Then run the playbook: ``` ansible-playbook play.yml ```