Infra: Move probes under ansible instead of terraform
[csit.git] / resources / tools / testbed-setup / ansible / roles / cadvisor / defaults / main.yaml
1 ---
2 # file: roles/cadvisor/defaults/main.yaml
3
4 packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}"
5
6 packages_base:
7   - []
8
9 packages_by_distro:
10   ubuntu:
11     - "python3-docker"
12     - "python3-dockerpty"
13
14 packages_by_arch:
15   aarch64:
16     - []
17   x86_64:
18     - []
19
20 image: "{{ image_by_arch[ansible_machine] }}"
21
22 image_by_arch:
23   aarch64: "zcube/cadvisor:v0.37.0"
24   x86_64: "gcr.io/cadvisor/cadvisor:v0.38.7"