summaryrefslogtreecommitdiffstats
path: root/ansible/roles/gsm-tester/tasks/main.yml
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-06-05 14:29:13 +0200
committerlynxis lazus <lynxis@fe80.eu>2018-06-07 12:47:55 +0000
commit7c7b83c93e30c9e4368c1dc3000dc1bae6f2f72e (patch)
treea11f258e6f3d4653ac7c5d8300e0aa6b9e726e6f /ansible/roles/gsm-tester/tasks/main.yml
parent088d2d6bb705de3a0e36bfd44643f60900de8900 (diff)
ansible: gsm-tester: only check once the apt freshness
Diffstat (limited to 'ansible/roles/gsm-tester/tasks/main.yml')
-rw-r--r--ansible/roles/gsm-tester/tasks/main.yml16
1 files changed, 6 insertions, 10 deletions
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: install osmocom runtime dependencies
+
+- name: update apt
apt:
- name: "{{ item }}"
cache_valid_time: 3600
update_cache: yes
+
+- name: install osmocom runtime dependencies
+ apt:
+ name: "{{ item }}"
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