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
/
trex
/
tasks
/
main.yaml
diff --git
a/resources/tools/testbed-setup/ansible/roles/trex/tasks/main.yaml
b/resources/tools/testbed-setup/ansible/roles/trex/tasks/main.yaml
index
1e442f5
..
96a3ba5
100644
(file)
--- a/
resources/tools/testbed-setup/ansible/roles/trex/tasks/main.yaml
+++ b/
resources/tools/testbed-setup/ansible/roles/trex/tasks/main.yaml
@@
-1,19
+1,21
@@
---
# file: roles/trex/tasks/main.yaml
---
# file: roles/trex/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:
+ - trex-inst-prerequisites
-- name: Inst
all Distribution - Release - Machine
Prerequisites
+- name: Inst
-
Prerequisites
package:
name: "{{ packages | flatten(levels=1) }}"
state: latest
tags:
package:
name: "{{ packages | flatten(levels=1) }}"
state: latest
tags:
- -
install-dependenci
es
+ -
trex-inst-prerequisit
es
- name: Deploy Multiple T-Rex Versions
include_tasks: deploy_block.yaml
- name: Deploy Multiple T-Rex Versions
include_tasks: deploy_block.yaml