diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-19 22:32:54 -0700 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-19 22:32:54 -0700 |
| commit | 6cf0129d002d0bbc88756f4d662e0f5af043dc52 (patch) | |
| tree | 45c56805d7f49e5f1977050f7fa6da81b8ec9138 /README.md | |
| parent | Rename cgit to git and acme to ssl for httpd (diff) | |
| download | site-configs-6cf0129d002d0bbc88756f4d662e0f5af043dc52.zip | |
Add static site hosting for eugenetriguba.com
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 23 |
1 files changed, 16 insertions, 7 deletions
@@ -1,24 +1,33 @@ -# git.eugenetriguba.com Configurations +# *.eugenetriguba.com Configurations -This Ansible playbook sets up my git server at https://git.eugenetriguba.com. +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 an OpenBSD server. It will then setup: +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 git server, you'll want to update -`inventory/git.yml` to give the details of your own server and `site.yml` to -pass in the variable values that make sense for your use case. +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. -Once that is done, you may run: +To ensure you have the right Ansible and its collections installed, run: ```sh ./bootstrap.sh ``` + +Then, you can run a playbook with: + +```sh +./run-playbook.sh ./site.yml +``` |