diff options
author | 2021-03-22 08:46:04 +0000 | |
---|---|---|
committer | 2021-03-22 09:03:17 +0000 | |
commit | 3402c93328d877ef09a026f5a491eabd34f8bc1e (patch) | |
tree | 7948ecd2413383669b9f1703b7c80d7f68f89cf1 /resources/tools/testbed-setup/ansible/roles/calibration/tasks | |
parent | 026d128b96a386781733961edbf26ba197530954 (diff) |
Infra: Ansible sync
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I4b1516a957447b8356949626e385b9317ed1933c
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/calibration/tasks')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml index a6e8898f9d..5d0c3b18ff 100644 --- a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml @@ -1,13 +1,21 @@ --- # file: roles/calibration/tasks/main.yaml -- 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: + - calibration-inst-prerequisites + +- name: Inst - Prerequisites package: name: "{{ packages | flatten(levels=1) }}" state: latest - update_cache: true tags: - - install-dependencies + - calibration-inst-prerequisites - name: Check CPU Power States shell: "lscpu" |