feat(ansible): Ubuntu Jammy VI.
[csit.git] / fdio.infra.ansible / roles / python_env / tasks / main.yaml
1 ---
2 # file: roles/python_env/tasks/main.yaml
3
4 - name: Inst - Update package cache (apt)
5   ansible.builtin.apt:
6     update_cache: true
7     cache_valid_time: 3600
8   when:
9     - ansible_distribution|lower == 'ubuntu'
10   tags:
11     - common-inst-prerequisites
12
13 - name: Inst - Prerequisites
14   ansible.builtin.package:
15     name: "{{ packages | flatten(levels=1) }}"
16     state: latest
17   tags:
18     - common-inst-prerequisites
19
20 - name: Inst - CSIT PIP requirements
21   ansible.builtin.pip:
22     name:
23       - "ecdsa==0.18.0"
24       - "paramiko==2.9.3"
25       - "pycrypto==2.6.1"
26       - "PyYAML==5.4.1"
27       - "requests==2.25.1"
28       - "robotframework==5.0.1"
29       - "scapy==2.4.5"
30       - "scp==0.14.4"
31       - "ansible==5.10.0"
32       - "ansible-core==2.12.7"
33       - "dill==0.3.5.1"
34       - "numpy==1.22.4"
35       - "scipy==1.8.1"
36       - "boto3==1.17.78"
37       - "botocore==1.20.78"
38       - "hdrhistogram==0.6.1"
39       - "pandas==1.4.2"
40       - "plotly==4.1.1"
41       - "PTable==0.9.2"
42       - "Sphinx==3.5.4"
43       - "sphinx-rtd-theme==0.5.2"
44       - "sphinxcontrib-applehelp==1.0.2"
45       - "sphinxcontrib-devhelp==1.0.2"
46       - "sphinxcontrib-htmlhelp==2.0.0"
47       - "sphinxcontrib-jsmath==1.0.1"
48       - "sphinxcontrib-programoutput==0.17"
49       - "sphinxcontrib-qthelp==1.0.3"
50       - "sphinxcontrib-robotdoc==0.11.0"
51       - "sphinxcontrib-serializinghtml==1.1.5"
52       - "ply==3.11"
53       - "jsonschema==4.1.0"
54       - "rfc3339-validator==0.1.4"
55       - "rfc3987==1.3.8"
56       - "alabaster==0.7.12"
57       - "attrs==21.4.0"
58       - "Babel==2.10.3"
59       - "bcrypt==3.2.2"
60       - "certifi==2022.6.15"
61       - "cffi==1.15.1"
62       - "chardet==4.0.0"
63       - "cryptography==36.0.2"
64       - "docutils==0.16"
65       - "future==0.18.2"
66       - "idna==2.10"
67       - "imagesize==1.4.1"
68       - "Jinja2==3.0.3"
69       - "jmespath==0.10.0"
70       - "MarkupSafe==2.1.1"
71       - "packaging==21.3"
72       - "pbr==5.9.0"
73       - "pycparser==2.21"
74       - "Pygments==2.12.0"
75       - "PyNaCl==1.5.0"
76       - "pyparsing==3.0.9"
77       - "pyrsistent==0.18.1"
78       - "python-dateutil==2.8.2"
79       - "pytz==2022.1"
80       - "resolvelib==0.5.4"
81       - "retrying==1.3.3"
82       - "s3transfer==0.4.2"
83       - "six==1.16.0"
84       - "snowballstemmer==2.2.0"
85       - "urllib3==1.26.10"
86   environment:
87     ANSIBLE_SKIP_CONFLICT_CHECK: 1
88   tags:
89     - common-inst-pip