xoxys.certbot/defaults/main.yml

31 lines
880 B
YAML
Raw Normal View History

---
2018-06-22 22:03:31 +02:00
certbot_work_dir: /var/lib/letsencrypt
certbot_config_dir: /etc/letsencrypt
certbot_log_dir: /var/log/letsencrypt
certbot_environment:
2018-06-22 21:39:52 +02:00
- { name: "{{ certbot_work_dir }}", mode: '0755' }
- { name: "{{ certbot_config_dir }}", mode: '0755' }
- { name: "{{ certbot_log_dir }}", mode: '0700' }
certbot_user: root
2018-06-22 21:57:22 +02:00
certbot_preferred_challenges: dns
certbot_server: https://acme-v02.api.letsencrypt.org/directory
certbot_email: mail@example.com
certbot_rsa_key_size: 4096
2018-06-23 15:29:05 +02:00
certbot_domains:
- example.com
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(',') }}"
2018-06-23 15:34:40 +02:00
# Use a file under /etc/cron.d
# Works onyl if certbot_user is root
# certbot_cronfile: certbot-letsencrypt