Open Ndpnt opened 1 month ago
Add functionality to automate SSL certificate generation and renewal using Certbot within the Ansible playbook. This includes installing Certbot, generating certificates, setting up automatic renewal, and ensuring Nginx are reloaded after renewal.
To do it manually:
sudo certbot certonly --pre-hook 'systemctl stop nginx' --post-hook 'systemctl start nginx'
Add functionality to automate SSL certificate generation and renewal using Certbot within the Ansible playbook. This includes installing Certbot, generating certificates, setting up automatic renewal, and ensuring Nginx are reloaded after renewal.
To do it manually:
sudo certbot certonly --pre-hook 'systemctl stop nginx' --post-hook 'systemctl start nginx'