ansible skeleton, tweaking packer Docker build.

This commit is contained in:
2023-04-10 23:02:14 -07:00
parent 1fda2a7dd2
commit 3534b1274f
9 changed files with 102 additions and 3 deletions

6
ansible/cluster.yml Normal file
View File

@@ -0,0 +1,6 @@
- hosts: cluster
roles:
- base
- hosts: blade-coral
roles:
- coral

34
ansible/inventory Normal file
View File

@@ -0,0 +1,34 @@
[blades]
cluster-dev-01
cluster-dev-02
cluster-dev-03
cluster-dev-04
cluster-dev-05
cluster-tpm-01
cluster-tpm-02
cluster-tpm-03
cluster-tpm-04
cluster-tpm-05
[blade-dev]
cluster-dev-01
cluster-dev-02
cluster-dev-03
cluster-dev-04
cluster-dev-05
[blade-tpm]
cluster-tpm-01
cluster-tpm-02
cluster-tpm-03
cluster-tpm-04
cluster-tpm-05
# which boards have the Coral TPUs enabled?
[blade-coral]
cluster-dev-04
cluster-tpm-04
cluster-tpm-05
[cluster-main]
cluster-00

View File

@@ -0,0 +1,4 @@
# Role: Base
The baseline for each board is the bare-minimum tooling that a blade needs to
start up.

View File

View File

@@ -0,0 +1,4 @@
# Role: Coral
The `coral` blades have a pair of Coral TPUs on them, and need to be setup
appropriately.

View File