laforge submitted this change.
ansible/setup-simtest: merge apt tasks
Do apt update and installing packages in one task, similar to how we do
it in other ansible yml files.
Change-Id: I269b368fdca682814976b2cda1c14c33529650b7
---
M ansible/setup-simtest.yml
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/ansible/setup-simtest.yml b/ansible/setup-simtest.yml
index eb37186..33bdda8 100644
--- a/ansible/setup-simtest.yml
+++ b/ansible/setup-simtest.yml
@@ -3,11 +3,6 @@
hosts: simtester
user: root
tasks:
- - name: apt-get update
- apt:
- cache_valid_time: 3600
- update_cache: yes
-
- name: install common utilities
apt:
name:
@@ -21,6 +16,8 @@
- tshark
- virtualenv
install_recommends: no
+ cache_valid_time: 3600
+ update_cache: yes
- name: "pysim: get requirements.txt"
get_url:
To view, visit change 42640. To unsubscribe, or for help writing mail filters, visit settings.