cddfe63655987b886e9b63957cdf019c2392ab1c
[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: yes
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.22.0"
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==2.2.1"
39       - "sphinx-rtd-theme==0.4.0"
40       - "sphinxcontrib-programoutput==0.15"
41       - "sphinxcontrib-robotdoc==0.11.0"
42       - "alabaster==0.7.12"
43       - "Babel==2.7.0"
44       - "bcrypt==3.1.7"
45       - "certifi==2019.9.11"
46       - "cffi==1.13.2"
47       - "chardet==3.0.4"
48       - "cryptography==2.8"
49       - "docutils==0.15.2"
50       - "future==0.18.2"
51       - "idna==2.8"
52       - "imagesize==1.1.0"
53       - "Jinja2==2.10.3"
54       - "MarkupSafe==1.1.1"
55       - "packaging==19.2"
56       - "pbr==5.4.3"
57       - "pycparser==2.19"
58       - "Pygments==2.4.2"
59       - "PyNaCl==1.3.0"
60       - "pyparsing==2.4.4"
61       - "python-dateutil==2.8.1"
62       - "pytz==2019.3"
63       - "retrying==1.3.3"
64       - "six==1.13.0"
65       - "snowballstemmer==2.0.0"
66       - "sphinxcontrib-applehelp==1.0.1"
67       - "sphinxcontrib-devhelp==1.0.1"
68       - "sphinxcontrib-htmlhelp==1.0.2"
69       - "sphinxcontrib-jsmath==1.0.1"
70       - "sphinxcontrib-qthelp==1.0.2"
71       - "sphinxcontrib-serializinghtml==1.1.3"
72       - "urllib3==1.25.6"
73   tags:
74     - common-inst-pip
75
76 - name: Inst - CSIT PIP requirements - Pandas and SciPy workaround
77   pip:
78     name:
79       - "pandas==0.25.3"
80       - "scipy==1.5.4"
81   tags:
82     - common-inst-pip