Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: Support for certbot plugins(Nginx,Apache) #205

Open
DaisyDomergue opened this issue Jan 9, 2024 · 2 comments
Open

FEATURE: Support for certbot plugins(Nginx,Apache) #205

DaisyDomergue opened this issue Jan 9, 2024 · 2 comments

Comments

@DaisyDomergue
Copy link

DaisyDomergue commented Jan 9, 2024

Add support for options of installing and configuring certbot plugins.
eg.
install addition packages like python3-certbot-nginx
add option nginx or apache for certbot_create_method
certbot_create_method: nginx

modify certbot_create_command to user --certonly if in standalone or webroot else use --nginx or --apache

{{ certbot_script }} {{ 'certonly' if certbot_create_method == 'standalone' or certbot_create_method == 'webroot' else '' }} --{{ certbot_create_method }} {{ '--hsts' if certbot_hsts else '' }} {{ '--test-cert' if certbot_testmode else '' }} --noninteractive --agree-tos --email {{ cert_item.email | default(certbot_admin_email) }} {{ '--webroot-path ' if certbot_create_method == 'webroot' else '' }} {{ cert_item.webroot | default(certbot_webroot) if certbot_create_method == 'webroot' else '' }} {{ certbot_create_extra_args }} -d {{ cert_item.domains | join(',') }} {{ '--pre-hook /etc/letsencrypt/renewal-hooks/pre/stop_services' if certbot_create_standalone_stop_services and certbot_create_method == 'standalone' else '' }} {{ '--post-hook /etc/letsencrypt/renewal-hooks/post/start_services' if certbot_create_standalone_stop_services and certbot_create_method == 'standalone' else '' }}

Copy link

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label May 13, 2024
@DaisyDomergue
Copy link
Author

@geerlingguy can you check on this

@github-actions github-actions bot removed the stale label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant