Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Infra: Move probes under ansible instead of terraform
[csit.git]
/
resources
/
tools
/
testbed-setup
/
ansible
/
roles
/
ab
/
tasks
/
main.yaml
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
c422b4d
..
85003d5
100644
(file)
--- a/
resources/tools/testbed-setup/ansible/roles/ab/tasks/main.yaml
+++ b/
resources/tools/testbed-setup/ansible/roles/ab/tasks/main.yaml
@@
-1,15
+1,18
@@
---
# file: roles/ab/tasks/main.yaml
---
# file: roles/ab/tasks/main.yaml
--
Name: Update package cache (apt
)
+-
name: Inst - Update Package Cache (APT
)
apt:
update_cache: yes
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
apt:
update_cache: yes
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
+ tags:
+ - ab-inst-prerequisites
-- name: Inst
all
Apache ab tools
+- name: Inst
-
Apache ab tools
package:
name: "{{ packages | flatten(levels=1) }}"
state: present
package:
name: "{{ packages | flatten(levels=1) }}"
state: present
- tags: install-ab
+ tags:
+ - ab-inst-ab
\ No newline at end of file