diff options
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/ab/tasks/main.yaml')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/ab/tasks/main.yaml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/ab/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/ab/tasks/main.yaml index 9153198cfb..37e702e6df 100644 --- a/resources/tools/testbed-setup/ansible/roles/ab/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/ab/tasks/main.yaml @@ -1,9 +1,18 @@ --- # file: roles/ab/tasks/main.yaml -- name: Install Apache ab tools +- name: Inst - Update Package Cache (APT) + apt: + update_cache: yes + cache_valid_time: 3600 + when: + - ansible_distribution|lower == 'ubuntu' + tags: + - ab-inst-prerequisites + +- name: Inst - Apache ab tools package: name: "{{ packages | flatten(levels=1) }}" state: present - update_cache: true - tags: install-ab + tags: + - ab-inst
\ No newline at end of file |