aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/python_env/tasks/main.yaml
blob: 29d9b963ca22a928fb193954640c535e3e86f4d9 (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
---
# file: tasks/main.yaml

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

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

- name: Inst - CSIT PIP requirements
  ansible.builtin.pip:
    name:
      - "ecdsa==0.19.0"
      - "paramiko==3.4.1"
      - "pycryptodome==3.20.0"
      - "python-dateutil==2.9.0"
      - "PyYAML==6.0.1"
      - "requests==2.32.2"
      - "robotframework==7.0.1"
      - "scapy==2.4.5"
      - "scp==0.15.0"
      - "ansible==10.2.0"
      - "ansible-core==2.17.2"
      - "dill==0.3.8"
      - "numpy==2.0.1"
      - "scipy==1.14.0"
      - "ply==3.11"
      - "jsonschema==4.23.0"
      - "rfc3339-validator==0.1.4"
      - "rfc3987==1.3.8"
      - "pylint==3.2.6"
      - "astroid==3.2.4"
      - "attrs==24.2.0"
      - "bcrypt==4.2.0"
      - "certifi==2024.7.4"
      - "cffi==1.17.0"
      - "charset-normalizer==3.3.2"
      - "cryptography==43.0.0"
      - "idna==3.7"
      - "isort==5.13.2"
      - "Jinja2==3.1.4"
      - "jsonschema-specifications==2023.12.1"
      - "MarkupSafe==2.1.5"
      - "mccabe==0.7.0"
      - "packaging==24.1"
      - "platformdirs==4.2.2"
      - "ply==3.11"
      - "pycparser==2.22"
      - "PyNaCl==1.5.0"
      - "referencing==0.35.1"
      - "resolvelib==1.0.1"
      - "rpds-py==0.20.0"
      - "six==1.16.0"
      - "tomli==2.0.1"
      - "tomlkit==0.13.0"
      - "typing_extensions==4.12.2"
      - "urllib3==2.2.2"
  environment:
    ANSIBLE_SKIP_CONFLICT_CHECK: 1
  tags:
    - common-inst-pip