aboutsummaryrefslogtreecommitdiffstats

*.eugenetriguba.com Configurations

This Ansible playbook sets up my web server at https://eugenetriguba.com and git server at https://git.eugenetriguba.com.

It is intended to be run against OpenBSD servers.

For the git server, it will setup:

  • A web server with OpenBSD’s httpd
  • A SSL certificate for the host with OpenBSD’s acme-client and Let’s Encrypt
  • A git user to own the git data
  • cgit as the UI for the git data
  • Automated backups via restic and Backblaze’s B2 service
  • A web server with OpenBSD’s httpd to serve files from /var/www/htdocs/www

Usage

If you want to use this playbook for your own servers, you’ll want to update inventory/ files to give the details of your own server and the site.yml playbook to pass in the variable values that make sense for your use case.

To ensure you have the right Ansible and its collections installed, run:

./bootstrap.sh

Then, you can run a playbook with:

./run-playbook.sh ./site.yml