blob: c54cfd9e644116688a09692cde7d03f8e1af80d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# *.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:
```sh
./bootstrap.sh
```
Then, you can run a playbook with:
```sh
./run-playbook.sh ./site.yml
```
|