aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/python_env/tasks/main.yaml
blob: 4e4cfb447c771601f477a8679d3194263efa75ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
# file: roles/python_env/tasks/main.yaml

- name: Inst - Update package cache (apt)
  apt:
    update_cache: true
    cache_valid_time: 3600
  when:
    - ansible_distribution|lower == 'ubuntu'
  tags:
    - common-inst-prerequisites

- name: Inst - Prerequisites
  package:
    name: "{{ packages | flatten(levels=1) }}"
    state: latest
  tags:
    - common-inst-prerequisites

- name: Inst - CSIT PIP requirements
  pip:
    name:
      - "ecdsa==0.13.3"
      - "paramiko==2.6.0"
      - "pycrypto==2.6.1"
      - "pypcap==1.2.3"
      - "PyYAML==5.1.1"
      - "requests==2.25.1"
      - "robotframework==3.1.2"
      - "scapy==2.4.3"
      - "scp==0.13.2"
      - "ansible==2.10.7"
      - "dill==0.3.3"
      - "numpy==1.17.3"
      - "hdrhistogram==0.6.1"
      - "plotly==4.1.1"
      - "PTable==0.9.2"
      - "Sphinx==3.5.4"
      - "sphinx-rtd-theme==0.5.2"
      - "sphinxcontrib-programoutput==0.17"
      - "sphinxcontrib-robotdoc==0.11.0"
      - "alabaster==0.7.12"
      - "Babel==2.9.0"
      - "bcrypt==3.1.7"
      - "certifi==2020.12.5"
      - "cffi==1.13.2"
      - "chardet==4.0.0"
      - "cryptography==2.8"
      - "docutils==0.16"
      - "future==0.18.2"
      - "idna==2.10"
      - "imagesize==1.2.0"
      - "Jinja2==2.11.3"
      - "MarkupSafe==1.1.1"
      - "packaging==20.9"
      - "pbr==5.5.1"
      - "ply==3.11"
      - "pycparser==2.19"
      - "Pygments==2.8.1"
      - "PyNaCl==1.3.0"
      - "pyparsing==2.4.7"
      - "python-dateutil==2.8.2"
      - "pytz==2021.1"
      - "retrying==1.3.3"
      - "six==1.15.0"
      - "snowballstemmer==2.1.0"
      - "sphinxcontrib-applehelp==1.0.2"
      - "sphinxcontrib-devhelp==1.0.2"
      - "sphinxcontrib-htmlhelp==1.0.3"
      - "sphinxcontrib-jsmath==1.0.1"
      - "sphinxcontrib-qthelp==1.0.3"
      - "sphinxcontrib-serializinghtml==1.1.4"
      - "urllib3==1.25.6"
  environment:
    ANSIBLE_SKIP_CONFLICT_CHECK: 1
  tags:
    - common-inst-pip

- name: Inst - CSIT PIP requirements - Pandas and SciPy workaround
  pip:
    name:
      - "pandas==0.25.3"
      - "scipy==1.5.4"
  tags:
    - common-inst-pip