mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-30 14:56:11 +00:00
Picked up by the make-test setup phase regenerating generated artefacts during recent test runs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Front Base (HTTPS + Cloudflare + Handlers)
Description
sys-stk-front-base bootstraps the front layer that most web-facing apps need:
- Ensures the HTTPS base via
sys-svc-webserver-https - (Optional) Cloudflare bootstrap (zone lookup, dev mode, purge)
- Wires OpenResty/NGINX handlers
- Leaves per-domain certificate issuance to consumer roles (or pass-through vars to
sys-util-csp-certif needed)
This role is intentionally small and reusable. It prepares the ground so app roles can just render their vHost.
Overview
This role front bootstrap for web apps: HTTPS base, optional Cloudflare setup, and handler wiring.
Features
- Automated provisioning: Configured by Ansible without manual steps.
Responsibilities
- Include
sys-svc-webserver-https(once per host) - Include Cloudflare tasks when
DNS_PROVIDER == "cloudflare" - Load handler utilities (e.g.,
svc-prx-openresty) - Stay domain-agnostic: expect
domainto be provided by the consumer
Outputs
- Handler wiring completed
- HTTPS base ready (NGINX, ACME webroot)
- Cloudflare prepared (optional)
Credits
Developed and maintained by Kevin Veen-Birkenbach. Learn more at veen.world. Part of the Infinito.Nexus Project. Licensed under the Infinito.Nexus Community License (Non-Commercial).