Infra: Ansible yaml lint cleanup
[csit.git] / fdio.infra.ansible / roles / python_env / 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   - "virtualenv"
8
9 packages_by_distro:
10   ubuntu:
11     bionic:
12       - "python-all"
13       - "python-apt"
14       - "python-cffi"
15       - "python-cffi-backend"
16       - "python-dev"
17       - "python-pip"
18       - "python-setuptools"
19       - "python3-all"
20       - "python3-apt"
21       - "python3-cffi"
22       - "python3-cffi-backend"
23       - "python3-dev"
24       - "python3-pip"
25       - "python3-pyelftools"
26       - "python3-setuptools"
27     focal:
28       - "python3-all"
29       - "python3-apt"
30       - "python3-cffi"
31       - "python3-cffi-backend"
32       - "python3-dev"
33       - "python3-pip"
34       - "python3-pyelftools"
35       - "python3-setuptools"
36
37 packages_by_arch:
38   aarch64:
39     - []
40   x86_64:
41     - []