diff options
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/vpp/tasks')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml | 8 |
1 files changed, 7 insertions, 1 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 174373c110..06930b2479 100644 --- a/resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml @@ -1,11 +1,17 @@ --- # file: roles/sut/tasks/main.yaml +- Name: Update package cache (apt) + apt: + update_cache: yes + cache_valid_time: 3600 + when: + - ansible_distribution|lower == 'ubuntu' + - name: SUT - Install Distribution - Release - Machine Prerequisites package: name: "{{ packages | flatten(levels=1) }}" state: latest - update_cache: true tags: - install-dependencies |