Sys-svc-letsencrypt Role¶
Description: No description available
Variables¶
author: Kevin Veen-Birkenbach
description: An Ansible role to automate Let’s Encrypt SSL certificate issuance and renewal for Nginx
license: Infinito.Nexus NonCommercial License
license_url: https://s.infinito.nexus/license
company: Kevin Veen-Birkenbach
Consulting & Coaching Solutions https://www.veen.world
min_ansible_version: 2.9
platforms: [{‘name’: ‘Archlinux’, ‘versions’: [‘rolling’]}]
galaxy_tags: [‘letsencrypt’, ‘nginx’, ‘ssl’, ‘certificate’, ‘security’]
repository: https://s.infinito.nexus/code
issue_tracker_url: https://s.infinito.nexus/issues
documentation: https://docs.infinito.nexus
README¶
Let’s Encrypt SSL for Nginx 🔐¶
Description¶
Automates obtaining, configuring, and renewing Let’s Encrypt SSL certificates for Nginx with Certbot. Keeps your sites secure with minimal fuss! 🌐
Overview¶
It’s idempotent: configuration and certificate tasks only run when needed. ✅
Purpose¶
Ensure all your Nginx-hosted sites use free, trusted SSL certificates from Let’s Encrypt—all managed automatically via Ansible. 🎯
Features¶
Automatic Certificate Issuance: Uses Certbot’s webroot plugin to request and install certificates. 📜
Nginx Redirect: Creates a temporary HTTP → HTTPS redirect block. ↪️
ACME‐Challenge Handling: Configures
/.well-known/acme-challenge/for Certbot validation. 🔍Secure SSL Defaults: Includes modern cipher suites, HSTS, OCSP stapling, and session settings. 🔒
Auto‐Renewal: Leverages system scheduling (cron or systemd timer) to renew certs before expiration. 🔄
One‐Time Setup: Tasks guarded by a “run once” fact to avoid re-applying unchanged templates. 🏃♂️