ansible skeleton, tweaking packer Docker build.
This commit is contained in:
6
ansible/cluster.yml
Normal file
6
ansible/cluster.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- hosts: cluster
|
||||
roles:
|
||||
- base
|
||||
- hosts: blade-coral
|
||||
roles:
|
||||
- coral
|
||||
34
ansible/inventory
Normal file
34
ansible/inventory
Normal 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
|
||||
4
ansible/roles/base/README.md
Normal file
4
ansible/roles/base/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Role: Base
|
||||
|
||||
The baseline for each board is the bare-minimum tooling that a blade needs to
|
||||
start up.
|
||||
0
ansible/roles/base/tasks/main.yml
Normal file
0
ansible/roles/base/tasks/main.yml
Normal file
4
ansible/roles/coral/README.md
Normal file
4
ansible/roles/coral/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Role: Coral
|
||||
|
||||
The `coral` blades have a pair of Coral TPUs on them, and need to be setup
|
||||
appropriately.
|
||||
0
ansible/roles/coral/tasks/main.yml
Normal file
0
ansible/roles/coral/tasks/main.yml
Normal file
Reference in New Issue
Block a user