X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2Fansible%2Froles%2Fcommon%2Ftasks%2Fmain.yaml;h=5c3ba8280a6aa418f0fb26fd9c1c18615cad0a3c;hp=e60eec9fb003e43ef5b605fe71c5bbfaa1ca9912;hb=98d86e98c9bc9d2ed10b01fb81d6d7e02f09eb51;hpb=8605f3f406468f57bb9b2eac12a4421f65965300 diff --git a/resources/tools/testbed-setup/ansible/roles/common/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/common/tasks/main.yaml index e60eec9fb0..5c3ba8280a 100644 --- a/resources/tools/testbed-setup/ansible/roles/common/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/common/tasks/main.yaml @@ -11,13 +11,21 @@ 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: @@ -31,11 +39,10 @@ - "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" @@ -76,13 +83,21 @@ 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"