aboutsummaryrefslogblamecommitdiffstats
path: root/README.md
blob: cf745a3b52ec19eb08e2f5c5a1a519f7b26f756b (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                                


            



                



















                                                                  
                            
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.