aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/ab/tasks/main.yaml
blob: c422b4d2e03eb47dd155cbbe01c2f81e998cf4a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
# file: roles/ab/tasks/main.yaml

- Name: Update package cache (apt)
  apt:
    update_cache: yes
    cache_valid_time: 3600
  when:
    - ansible_distribution|lower == 'ubuntu'

- name: Install Apache ab tools
  package:
    name: "{{ packages | flatten(levels=1) }}"
    state: present
  tags: install-ab