aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/ab/tasks/main.yaml
blob: 2a70fd1d1dfe9f2b7f083f28f0579cb090ad3ca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
# file: roles/ab/tasks/main.yaml

- name: Inst - Update Package Cache (APT)
  ansible.builtin.apt:
    update_cache: true
    cache_valid_time: 3600
  when:
    - ansible_distribution|lower == 'ubuntu'
  tags:
    - ab-inst-prerequisites

- name: Inst - Apache ab tools
  ansible.builtin.package:
    name: "{{ packages | flatten(levels=1) }}"
    state: present
  tags:
    - ab-inst