Change in osmo-ci[master]: ansible: gsm-tester: only check once the apt freshness

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Jun 5 16:59:32 UTC 2018


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9455


Change subject: ansible: gsm-tester: only check once the apt freshness
......................................................................

ansible: gsm-tester: only check once the apt freshness

Change-Id: I40462fed216b1c0844a41172001dd2aaf8a8d04c
---
M ansible/roles/gsm-tester/tasks/main.yml
1 file changed, 6 insertions(+), 10 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/55/9455/1

diff --git a/ansible/roles/gsm-tester/tasks/main.yml b/ansible/roles/gsm-tester/tasks/main.yml
index 2b00270..73eca40 100644
--- a/ansible/roles/gsm-tester/tasks/main.yml
+++ b/ansible/roles/gsm-tester/tasks/main.yml
@@ -1,11 +1,15 @@
 ---
 # gsm tester would only need the libraries, not the dev packages.
 # But the name of the -dev packages are more stable over multiple release.
+
+- name: update apt
+  apt:
+    cache_valid_time: 3600
+    update_cache: yes
+
 - name: install osmocom runtime dependencies
   apt:
     name: "{{ item }}"
-    cache_valid_time: 3600
-    update_cache: yes
   with_items:
     - build-essential
     - git
@@ -35,20 +39,14 @@
   apt:
     name: ofono
     state: build-dep
-    cache_valid_time: 3600
-    update_cache: yes
 
 - name: install libqmi-glib a dependency of sysmocom ofono
   apt:
     name: libqmi-glib-dev
-    cache_valid_time: 3600
-    update_cache: yes
 
 - name: install uhub dependencies
   apt:
     name: "{{ item }}"
-    cache_valid_time: 3600
-    update_cache: yes
   with_items:
     - libusb-1.0-0-dev
 
@@ -111,8 +109,6 @@
 - name: install gsm tester dependencies
   apt:
     name: "{{ item }}"
-    cache_valid_time: 3600
-    update_cache: yes
   with_items:
     - dbus
     - tcpdump

-- 
To view, visit https://gerrit.osmocom.org/9455
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I40462fed216b1c0844a41172001dd2aaf8a8d04c
Gerrit-Change-Number: 9455
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180605/c150aef5/attachment.htm>


More information about the gerrit-log mailing list