aboutsummaryrefslogblamecommitdiffstats
path: root/README.md
blob: 33ab0ff0e9a7cf9509a34adc2e934e1626cc592e (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
remember that computers suck.