summaryrefslogtreecommitdiffstats
path: root/ansible/roles/gsm-tester
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-02-17 12:54:13 +0100
committerlaforge <laforge@osmocom.org>2020-02-21 20:09:11 +0000
commit5eb888e53ec756f739e8e796c6bc0251c4f14ff1 (patch)
tree1b87f5c13a5027f2c68d3e78ae83727bfe2c2a8f /ansible/roles/gsm-tester
parentcd4c9af8b5fa8c38d2ae0955c5d3da2f68b39da5 (diff)
ansible: gsm-tester: Allow install srs related packages in Ubuntu
Diffstat (limited to 'ansible/roles/gsm-tester')
-rw-r--r--ansible/roles/gsm-tester/tasks/main.yml19
1 files changed, 18 insertions, 1 deletions
diff --git a/ansible/roles/gsm-tester/tasks/main.yml b/ansible/roles/gsm-tester/tasks/main.yml
index 1492305..97ce7e2 100644
--- a/ansible/roles/gsm-tester/tasks/main.yml
+++ b/ansible/roles/gsm-tester/tasks/main.yml
@@ -49,7 +49,7 @@
- ofono
- modem
-- name: install srsLTE runtime dependencies
+- name: install srsLTE build-only dependencies
apt:
name: "{{ item }}"
with_items:
@@ -63,7 +63,24 @@
- libuhd-dev
- libczmq-dev
- libsoapysdr-dev
+ tags:
+ - srs
+
+- name: install srsLTE runtime extra dependencies (Debian)
+ apt:
+ name: "{{ item }}"
+ with_items:
- soapysdr0.7-module-lms7
+ when: ansible_distribution == 'Debian'
+ tags:
+ - srs
+
+- name: install srsLTE runtime extra dependencies (Ubuntu)
+ apt:
+ name: "{{ item }}"
+ with_items:
+ - soapysdr0.6-module-lms7
+ when: ansible_distribution == 'Ubuntu'
tags:
- srs