Skip to content
Snippets Groups Projects

feat: standalone, webroot

Merged Ghost User requested to merge development into main
21 files
+ 235
66
Compare changes
  • Side-by-side
  • Inline
Files
21
+ 16
1
---
# defaults file for ansible-certbot
# certbot settings
certbot_fqdn:
- example.de
certbot_admin_email: "admin@example.de"
# certbot_webroot: "/var/www/example" # if undefined use --standalone
# application settings
# certbot_application: "example" # if defined copy certs to application dir and setup deploy hooks
certbot_application_dir: "/etc/{{ certbot_application }}"
certbot_application_deploy_hook: |
#!/bin/sh
cp {{ certbot_live_dir }}/fullchain.pem {{ certbot_application_dir }}
cp {{ certbot_live_dir }}/privkey.pem {{ certbot_application_dir }}
systemctl restart {{ certbot_application }}.service
Loading