X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=fdio.infra.ansible%2Froles%2Fpython_env%2Ftasks%2Fmain.yaml;h=02850110a9d85839a63cfe1e1f9f8f41c7a06a43;hb=HEAD;hp=197b0ccac6af1403681e93b70675f241e2f62dae;hpb=63340f532e63119515c2c3ffdab48a3a87346959;p=csit.git diff --git a/fdio.infra.ansible/roles/python_env/tasks/main.yaml b/fdio.infra.ansible/roles/python_env/tasks/main.yaml index 197b0ccac6..02850110a9 100644 --- a/fdio.infra.ansible/roles/python_env/tasks/main.yaml +++ b/fdio.infra.ansible/roles/python_env/tasks/main.yaml @@ -1,9 +1,9 @@ --- -# file: roles/python_env/tasks/main.yaml +# file: tasks/main.yaml - name: Inst - Update package cache (apt) - apt: - update_cache: yes + ansible.builtin.apt: + update_cache: true cache_valid_time: 3600 when: - ansible_distribution|lower == 'ubuntu' @@ -11,73 +11,52 @@ - common-inst-prerequisites - name: Inst - Prerequisites - package: + ansible.builtin.package: name: "{{ packages | flatten(levels=1) }}" state: latest tags: - common-inst-prerequisites - name: Inst - CSIT PIP requirements - pip: + ansible.builtin.pip: name: - - "ecdsa==0.13.3" - - "paramiko==2.6.0" + - "ecdsa==0.18.0" + - "paramiko==3.3.1" - "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" + - "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" - - "pycparser==2.19" - - "Pygments==2.8.1" - - "PyNaCl==1.3.0" - - "pyparsing==2.4.7" - - "python-dateutil==2.8.1" - - "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" - tags: - - common-inst-pip - -- name: Inst - CSIT PIP requirements - Pandas and SciPy workaround - pip: - name: - - "pandas==0.25.3" - - "scipy==1.5.4" + - "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