Framework: SciPy upgrade
[csit.git] / resources / tools / testbed-setup / ansible / roles / common / tasks / main.yaml
index e60eec9..5c3ba82 100644 (file)
   tags:
     - set-proxy
 
-- name: Install Distribution - Release - Machine Prerequisites
+- name: Inst - Update package cache (apt)
+  apt:
+    update_cache: yes
+    cache_valid_time: 3600
+  when:
+    - ansible_distribution|lower == 'ubuntu'
+  tags:
+    - common-inst-prerequisites
+
+- name: Inst - Prerequisites
   package:
     name: "{{ packages | flatten(levels=1) }}"
     state: latest
-    update_cache: true
   tags:
-    - install-dependencies
+    - common-inst-prerequisites
 
 - name: Install CSIT PIP requirements
   pip:
       - "robotframework==3.1.2"
       - "scapy==2.4.3"
       - "scp==0.13.2"
-      - "ansible==2.7.8"
+      - "ansible==2.10.7"
       - "dill==0.2.8.2"
       - "numpy==1.17.3"
       - "hdrhistogram==0.6.1"
-      - "pandas==0.25.3"
       - "plotly==4.1.1"
       - "PTable==0.9.2"
       - "Sphinx==2.2.1"
   tags:
     - install-pip
 
-- name: Install CSIT PIP requirements - SciPy workaround
+- name: Install CSIT PIP requirements - Pandas and SciPy workaround
   pip:
     name:
-      - "scipy==1.1.0"
+      - "pandas==0.25.3"
+      - "scipy==1.5.4"
   tags:
     - install-pip
 
+- name: Install Meson (repository version is too old)
+  pip:
+    name:
+      - "meson==0.47.1"
+  tags:
+    - install-meson
+
 - name: Set sudoers admin
   lineinfile:
     path: "/etc/sudoers"