blob: 33ab0ff0e9a7cf9509a34adc2e934e1626cc592e (
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
|
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
|