Skip to content
Snippets Groups Projects
Commit b3aa1f17 authored by ale's avatar ale
Browse files

Add a small README for the Ansible proxy image role

parent 67654398
No related branches found
No related tags found
No related merge requests found
Ansible role to set up a generic VM image with a reverse proxy that
participates in the live.a.o pool. The image should be able to do the
following automatically and without any intervention, on first boot:
* generate a unique persistent host identifier for the VM
* start the agent and register with the central registry, so that
a DNS entry for the VM is created
* acquire a valid SSL certificate using Letsencrypt
* advertise itself as ready-to-serve and start receiving traffic
While on shutdown it should implement the following process:
* advertise status as not-ready-to-serve
* switch NGINX configuration to serve redirects back to the main
server, to avoid breaking streams for clients
* after some time (currently 5 minutes), actually shut down the VM
The above is implemented via systemd dependencies and simple shell
scripts.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment