Robert Kaussow
1e22a8f1d6
Author: Robert Kaussow <mail@geeklabor.de> Date: Mon Apr 20 22:47:48 2020 +0200 rename cron related variables
3.3 KiB
3.3 KiB
title | type |
---|---|
certbot | docs |
Setup certbot Let's Encrypt client.
- Default Variables
- certbot_command_arguments
- certbot_config_dir
- certbot_credentials
- certbot_cron_enabled
- certbot_cron_file
- certbot_cron_hour
- certbot_cron_minute
- certbot_domains
- certbot_email
- certbot_initial_run_enabled
- certbot_log_dir
- certbot_packages_extra
- certbot_preferred_challenges
- certbot_rsa_key_size
- certbot_server
- certbot_user
- certbot_work_dir
- Dependencies
Default Variables
certbot_command_arguments
Default value
certbot_command_arguments:
- certonly
- -n -d {{ certbot_domains | join(',') }}
certbot_config_dir
Default value
certbot_config_dir: /etc/letsencrypt
certbot_credentials
Specify key value parairs for your credentials (e.g. plugin credentials). The credentials will be saved to {{ certbot_config_dir }}/credentials.ini and you could add the path to
certbot_command_arguments` if required.
Default value
certbot_credentials: []
certbot_cron_enabled
Enable scheduling via cron.
Default value
certbot_cron_enabled: true
certbot_cron_file
Use a file under /etc/cron.d but this will only work if certbot_user
Default value
certbot_cron_file: _unset_
Example usage
certbot-letsencrypt
certbot_cron_hour
Default value
certbot_cron_hour: 3
certbot_cron_minute
Default value
certbot_cron_minute: 30
certbot_domains
Default value
certbot_domains:
- example.com
certbot_email
Default value
certbot_email: mail@example.com
certbot_initial_run_enabled
Default value
certbot_initial_run_enabled: false
certbot_log_dir
Default value
certbot_log_dir: /var/log/letsencrypt
certbot_packages_extra
Default value
certbot_packages_extra: []
certbot_preferred_challenges
Default value
certbot_preferred_challenges: dns
certbot_rsa_key_size
Default value
certbot_rsa_key_size: 4096
certbot_server
Default value
certbot_server: https://acme-v02.api.letsencrypt.org/directory
certbot_user
Default value
certbot_user: root
certbot_work_dir
Default value
certbot_work_dir: /var/lib/letsencrypt
Dependencies
None.