aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/python_env/tasks/main.yaml
blob: 02850110a9d85839a63cfe1e1f9f8f41c7a06a43 (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
---
# 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.18.0"
      - "paramiko==3.3.1"
      - "pycrypto==2.6.1"
      - "python-dateutil==2.8.2"
      - "PyYAML==6.0.1"
      - "requests==2.31.0"
      - "robotframework==6.1.1"
      - "scapy==2.4.5"
      - "scp==0.14.5"
      - "ansible==8.2.0"
      - "ansible-core==2.15.2"
      - "dill==0.3.7"
      - "numpy==1.25.2"
      - "scipy==1.11.1"
      - "ply==3.11"
      - "jsonschema==4.18.4"
      - "rfc3339-validator==0.1.4"
      - "rfc3987==1.3.8"
      - "attrs==23.1.0"
      - "bcrypt==4.0.1"
      - "certifi==2023.7.22"
      - "cffi==1.15.1"
      - "charset-normalizer==3.2.0"
      - "cryptography==41.0.3"
      - "idna==3.4"
      - "Jinja2==3.1.2"
      - "jsonschema-specifications==2023.7.1"
      - "MarkupSafe==2.1.3"
      - "packaging==23.1"
      - "pycparser==2.21"
      - "PyNaCl==1.5.0"
      - "referencing==0.30.0"
      - "resolvelib==1.0.1"
      - "rpds-py==0.9.2"
      - "six==1.16.0"
      - "urllib3==2.0.4"
  environment:
    ANSIBLE_SKIP_CONFLICT_CHECK: 1
  tags:
    - common-inst-pip