UTI: Export results
[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   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   package:
15     name: "{{ packages | flatten(levels=1) }}"
16     state: latest
17   tags:
18     - common-inst-prerequisites
19
20 - name: Inst - CSIT PIP requirements
21   pip:
22     name:
23       - "ecdsa==0.13.3"
24       - "paramiko==2.6.0"
25       - "pycrypto==2.6.1"
26       - "pypcap==1.2.3"
27       - "PyYAML==5.1.1"
28       - "requests==2.25.1"
29       - "robotframework==3.1.2"
30       - "scapy==2.4.3"
31       - "scp==0.13.2"
32       - "ansible==2.10.7"
33       - "dill==0.3.3"
34       - "numpy==1.17.3"
35       - "hdrhistogram==0.6.1"
36       - "plotly==4.1.1"
37       - "PTable==0.9.2"
38       - "Sphinx==3.5.4"
39       - "sphinx-rtd-theme==0.5.2"
40       - "sphinxcontrib-programoutput==0.17"
41       - "sphinxcontrib-robotdoc==0.11.0"
42       - "alabaster==0.7.12"
43       - "Babel==2.9.0"
44       - "bcrypt==3.1.7"
45       - "certifi==2020.12.5"
46       - "cffi==1.13.2"
47       - "chardet==4.0.0"
48       - "cryptography==2.8"
49       - "docutils==0.16"
50       - "future==0.18.2"
51       - "idna==2.10"
52       - "imagesize==1.2.0"
53       - "Jinja2==2.11.3"
54       - "MarkupSafe==1.1.1"
55       - "packaging==20.9"
56       - "pbr==5.5.1"
57       - "ply==3.11"
58       - "pycparser==2.19"
59       - "Pygments==2.8.1"
60       - "PyNaCl==1.3.0"
61       - "pyparsing==2.4.7"
62       - "python-dateutil==2.8.2"
63       - "pytz==2021.1"
64       - "retrying==1.3.3"
65       - "six==1.15.0"
66       - "snowballstemmer==2.1.0"
67       - "sphinxcontrib-applehelp==1.0.2"
68       - "sphinxcontrib-devhelp==1.0.2"
69       - "sphinxcontrib-htmlhelp==1.0.3"
70       - "sphinxcontrib-jsmath==1.0.1"
71       - "sphinxcontrib-qthelp==1.0.3"
72       - "sphinxcontrib-serializinghtml==1.1.4"
73       - "urllib3==1.25.6"
74   environment:
75     ANSIBLE_SKIP_CONFLICT_CHECK: 1
76   tags:
77     - common-inst-pip
78
79 - name: Inst - CSIT PIP requirements - Pandas and SciPy workaround
80   pip:
81     name:
82       - "pandas==0.25.3"
83       - "scipy==1.5.4"
84   tags:
85     - common-inst-pip