Infra: AWS Update to Ubuntu 20.04
[csit.git] / resources / tools / testbed-setup / ansible / roles / ab / tasks / main.yaml
1 ---
2 # file: roles/ab/tasks/main.yaml
3
4 - name: Inst - Update Package Cache (APT)
5   apt:
6     update_cache: yes
7     cache_valid_time: 3600
8   when:
9     - ansible_distribution|lower == 'ubuntu'
10   tags:
11     - ab-inst-prerequisites
12
13 - name: Inst - Apache ab tools
14   package:
15     name: "{{ packages | flatten(levels=1) }}"
16     state: present
17   tags:
18     - ab-inst