diff options
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/vpp')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/vpp/defaults/main.yaml | 25 | ||||
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml | 12 |
2 files changed, 19 insertions, 18 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/vpp/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/vpp/defaults/main.yaml index 323d00cf29..7fac499307 100644 --- a/resources/tools/testbed-setup/ansible/roles/vpp/defaults/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/vpp/defaults/main.yaml @@ -1,7 +1,7 @@ --- # file: roles/vpp/defaults/main.yaml -packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}" +packages: "{{ packages_base + packages_by_distro[ansible_distribution|lower][ansible_distribution_release] + packages_by_arch[ansible_machine] }}" packages_base: - "gdb" @@ -12,13 +12,22 @@ packages_base: packages_by_distro: ubuntu: - - "build-essential" - - "libglib2.0-dev" - - "libmbedcrypto1" - - "libmbedtls10" - - "libmbedx509-0" - - "libnuma-dev" - - "libpixman-1-dev" + bionic: + - "build-essential" + - "libglib2.0-dev" + - "libmbedcrypto1" + - "libmbedtls10" + - "libmbedx509-0" + - "libnuma-dev" + - "libpixman-1-dev" + focal: + - "build-essential" + - "libglib2.0-dev" + - "libmbedcrypto3" + - "libmbedtls12" + - "libmbedx509-0" + - "libnuma-dev" + - "libpixman-1-dev" packages_by_arch: aarch64: diff --git a/resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml index 6011917de2..ef03011b51 100644 --- a/resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml @@ -17,19 +17,11 @@ tags: - vpp-inst-prerequisites -- name: Inst - VPP 19.08 PIP requirements - pip: - name: - - "aenum==2.1.2" - executable: pip2 - tags: - - install-pip - -- name: Copy 80-vpp.conf +- name: Conf - sysctl file: src: "/dev/null" dest: "/etc/sysctl.d/80-vpp.conf" state: "link" become: yes tags: - - create-80-vpp + - vpp-conf-sysctl |