xoxys.certbot/README.md

263 lines
4.7 KiB
Markdown
Raw Normal View History

2018-06-22 20:30:02 +02:00
# xoxys.certbot
2019-10-16 01:02:31 +02:00
[![Build Status](https://drone.rknet.org/api/badges/ansible/xoxys.certbot/status.svg)](https://drone.rknet.org/ansible/xoxys.certbot)
2018-06-22 20:30:02 +02:00
2019-10-16 01:02:31 +02:00
2019-11-06 21:09:43 +01:00
Setup certbot Let's Encrypt client
2019-10-16 01:02:31 +02:00
## Table of content
* [Default Variables](#default-variables)
2019-11-23 00:11:54 +01:00
* [certbot_command_arguments](#certbot_command_arguments)
2019-10-16 01:02:31 +02:00
* [certbot_config_dir](#certbot_config_dir)
2019-11-23 00:11:54 +01:00
* [certbot_core_networks_api_host](#certbot_core_networks_api_host)
* [certbot_core_networks_api_password](#certbot_core_networks_api_password)
* [certbot_core_networks_api_user](#certbot_core_networks_api_user)
* [certbot_core_networks_base_dir](#certbot_core_networks_base_dir)
* [certbot_core_networks_dns_zone](#certbot_core_networks_dns_zone)
* [certbot_core_networks_log_level](#certbot_core_networks_log_level)
* [certbot_core_networks_plugin_enabled](#certbot_core_networks_plugin_enabled)
* [certbot_core_networks_plugin_repo](#certbot_core_networks_plugin_repo)
* [certbot_core_networks_plugin_version](#certbot_core_networks_plugin_version)
* [certbot_domains](#certbot_domains)
* [certbot_email](#certbot_email)
* [certbot_environment](#certbot_environment)
* [certbot_initial_run_enabled](#certbot_initial_run_enabled)
2019-10-16 01:02:31 +02:00
* [certbot_log_dir](#certbot_log_dir)
2019-11-23 00:11:54 +01:00
* [certbot_packages_extra](#certbot_packages_extra)
2019-10-16 01:02:31 +02:00
* [certbot_plugin_dir](#certbot_plugin_dir)
* [certbot_preferred_challenges](#certbot_preferred_challenges)
* [certbot_rsa_key_size](#certbot_rsa_key_size)
* [certbot_scheduler_enabled](#certbot_scheduler_enabled)
2019-11-23 00:11:54 +01:00
* [certbot_server](#certbot_server)
* [certbot_user](#certbot_user)
* [certbot_work_dir](#certbot_work_dir)
2019-10-16 01:02:31 +02:00
* [Dependencies](#dependencies)
* [License](#license)
* [Author](#author)
---
## Default Variables
2019-11-23 00:11:54 +01:00
### certbot_command_arguments
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_command_arguments:
- certonly
- --agree-tos
- --manual
- --manual-auth-hook /path/to/authenticator.py
- --manual-cleanup-hook /path/to/cleanup.py
- --manual-public-ip-logging-ok
- -n
- -d {{ certbot_domains | join(',') }}
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_config_dir
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_config_dir: /etc/letsencrypt
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_core_networks_api_host
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_core_networks_api_host: https://beta.api.core-networks.de/
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_core_networks_api_password
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_core_networks_api_password: secure
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_core_networks_api_user
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_core_networks_api_user: myuser
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_core_networks_base_dir
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_core_networks_base_dir: '{{ certbot_plugin_dir }}/certbot_dns_corenetworks'
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_core_networks_dns_zone
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_core_networks_dns_zone: mydomain.com
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_core_networks_log_level
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_core_networks_log_level: error
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_core_networks_plugin_enabled
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_core_networks_plugin_enabled: false
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_core_networks_plugin_repo
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_core_networks_plugin_repo: https://git.rknet.org/xoxys/certbot_dns_corenetworks.git
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_core_networks_plugin_version
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_core_networks_plugin_version: master
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_domains
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_domains:
- example.com
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_email
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_email: mail@example.com
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_environment
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_environment:
- name: '{{ certbot_work_dir }}'
mode: '0755'
- name: '{{ certbot_config_dir }}'
mode: '0755'
- name: '{{ certbot_log_dir }}'
mode: '0700'
- name: '{{ certbot_plugin_dir }}'
mode: '0755'
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_initial_run_enabled
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_initial_run_enabled: false
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_log_dir
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_log_dir: /var/log/letsencrypt
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_packages_extra
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_packages_extra: []
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_plugin_dir
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_plugin_dir: /etc/letsencrypt/plugins
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_preferred_challenges
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_preferred_challenges: dns
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_rsa_key_size
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_rsa_key_size: 4096
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_scheduler_enabled
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_scheduler_enabled: true
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_server
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_server: https://acme-v02.api.letsencrypt.org/directory
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_user
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_user: root
2019-10-16 01:02:31 +02:00
```
2019-11-23 00:11:54 +01:00
### certbot_work_dir
2019-10-16 01:02:31 +02:00
#### Default value
```YAML
2019-11-23 00:11:54 +01:00
certbot_work_dir: /var/lib/letsencrypt
2019-10-16 01:02:31 +02:00
```
## Dependencies
None.
## License
MIT
## Author
2019-11-07 09:38:05 +01:00
[xoxys](https://gitea.rknet.org/xoxys)