Code Review
/
csit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Ansible: Fix package cache updates
[csit.git]
/
resources
/
tools
/
testbed-setup
/
ansible
/
roles
/
ab
/
tasks
/
main.yaml
1
---
2
# file: roles/ab/tasks/main.yaml
3
4
- Name: Update package cache (apt)
5
apt:
6
update_cache: yes
7
cache_valid_time: 3600
8
when:
9
- ansible_distribution|lower == 'ubuntu'
10
11
- name: Install Apache ab tools
12
package:
13
name: "{{ packages | flatten(levels=1) }}"
14
state: present
15
tags: install-ab