Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
live
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
tools
live
Commits
b3aa1f17
Commit
b3aa1f17
authored
5 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
proxy/ansible/README.md
+19
-0
19 additions, 0 deletions
proxy/ansible/README.md
with
19 additions
and
0 deletions
proxy/ansible/README.md
0 → 100644
+
19
−
0
View file @
b3aa1f17
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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment