diff options
author | pmikus <pmikus@cisco.com> | 2021-02-04 13:03:12 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2021-02-04 14:25:53 +0000 |
commit | cfceaf325c290fc3a07f6c7cbefc1fc4af6dde1e (patch) | |
tree | ab955c24748e3e945f8876e96a996d9891ee6e14 /resources/tools/testbed-setup/ansible/roles/vpp | |
parent | 879b31f02fb4df52016d7465e21377121dfbb515 (diff) |
Infra: Move probes under ansible instead of terraform
+ More stable probe handling.
+ Naming cleanup due to errors.
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I3bb1237af20636919f869f2eee53597202d00792
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/vpp')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml | 14 |
1 files changed, 8 insertions, 6 deletions
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 06930b2479..6011917de2 100644 --- a/resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml @@ -1,21 +1,23 @@ --- -# file: roles/sut/tasks/main.yaml +# file: roles/vpp/tasks/main.yaml -- Name: Update package cache (apt) +- name: Inst - Update Package Cache (APT) apt: update_cache: yes cache_valid_time: 3600 when: - ansible_distribution|lower == 'ubuntu' + tags: + - vpp-inst-prerequisites -- name: SUT - Install Distribution - Release - Machine Prerequisites +- name: Inst - Prerequisites package: name: "{{ packages | flatten(levels=1) }}" state: latest tags: - - install-dependencies + - vpp-inst-prerequisites -- name: SUT - Install VPP 19.08 PIP requirements +- name: Inst - VPP 19.08 PIP requirements pip: name: - "aenum==2.1.2" @@ -23,7 +25,7 @@ tags: - install-pip -- name: SUT - Copy 80-vpp.conf +- name: Copy 80-vpp.conf file: src: "/dev/null" dest: "/etc/sysctl.d/80-vpp.conf" |