summaryrefslogtreecommitdiffstats
path: root/ansible/roles/gsm-tester/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/gsm-tester/tasks/main.yml')
-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