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