aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: cf745a3b52ec19eb08e2f5c5a1a519f7b26f756b (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
ansible roles and scripts used for rgoncalves.se's homelab. This repository is a
rewrite of the now deprecated `_infrastructure/ansible`.

# Quickstart

```
$ poetry install
$ poetry shell
$ . ./bin/env
$ ansible-playbook site.workstation.yml -e _workstation_user=$USER
$ ansible-playbook site.prerequisites.yml
$ ansible-playbook site.all.yml
```
# Naming scheme

The fully qualified name of a host is composed as follows :
`[site]-[role]-[number]`

site                  | name
---                   | ---
openbsd.amsterdam     | ams
on-premise            | local
mobile workstation    | (nothing)

role                  | name
---                   | ---
domain controller     | dcontroller
workstation           | wstation
hypervisor            | hvisor
router                | rter
remember that computers suck.