77a9c83740ed941e784f0f04f5a5eafabcac0930
[csit.git] / fdio.infra.ansible / roles / common / defaults / main.yaml
1 ---
2 # file: roles/common/defaults/main.yaml
3
4 packages: "{{ packages_base + packages_by_distro[ansible_distribution|lower][ansible_distribution_release] + packages_by_arch[ansible_machine] }}"
5
6 packages_base:
7   - "autoconf"
8   - "ca-certificates"
9   - "cgroup-tools"
10   - "dkms"
11   - "iperf3"
12   - "linux-tools-common"
13   - "ninja-build"
14   - "numactl"
15   - "qemu-system"
16   - "socat"
17   - "unzip"
18   - "virtualenv"
19
20 packages_by_distro:
21   ubuntu:
22     focal:
23       - "bpfcc-tools"
24       - "build-essential"
25       - "libbpfcc"
26       - "libbpfcc-dev"
27       - "libclang1-9"
28       - "libllvm9"
29       - "libpcap-dev"
30       - "net-tools"
31       - "python3-all"
32       - "python3-apt"
33       - "python3-bpfcc"
34       - "python3-cffi"
35       - "python3-cffi-backend"
36       - "python3-dev"
37       - "python3-pip"
38       - "python3-pyelftools"
39       - "python3-setuptools"
40     jammy:
41       - "build-essential"
42       - "libpcap-dev"
43       - "net-tools"
44       - "python-all"
45       - "python-apt"
46       - "python-cffi"
47       - "python-cffi-backend"
48       - "python-dev"
49       - "python-pip"
50       - "python-setuptools"
51       - "python3-all"
52       - "python3-apt"
53       - "python3-cffi"
54       - "python3-cffi-backend"
55       - "python3-dev"
56       - "python3-pip"
57       - "python3-pyelftools"
58       - "python3-setuptools"
59
60 packages_by_arch:
61   aarch64:
62     - "gfortran"
63     - "libblas-dev"
64     - "libffi-dev"
65     - "liblapack-dev"
66     - "libssl-dev"
67   x86_64:
68     - []
69
70 # Proxy settings: Uncomment and fill the proper values. These variables will be
71 # set globally by writing into /etc/environment file on target machine.
72 # proxy_env:
73 #   http_proxy: http://proxy.com:80
74 #   HTTP_PROXY: http://proxy.com:80
75 #   https_proxy: http://proxy.com:80
76 #   HTTPS_PROXY: http://proxy.com:80
77 #   ftp_proxy: http://proxy.com:80
78 #   FTP_PROXY: http://proxy.com:80
79 #   no_proxy: localhost,127.0.0.1,{{ ansible_default_ipv4.address }}
80 #   NO_PROXY: localhost,127.0.0.1,{{ ansible_default_ipv4.address }}