summaryrefslogtreecommitdiffstats
path: root/ansible/roles/gsm-tester/tasks
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-01-29 19:57:06 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-01-29 19:57:06 +0100
commitc17216723bb8bbfc3ebaf335e6401614a83e0bca (patch)
treee01fc931d2ab5029b42201306b047c0fe8c89363 /ansible/roles/gsm-tester/tasks
parentf57eb28d13d9263dc20acc35570bbd0aa3996683 (diff)
ansible: mdbus2 is not nowadays available on Debian10
Diffstat (limited to 'ansible/roles/gsm-tester/tasks')
-rw-r--r--ansible/roles/gsm-tester/tasks/main.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/ansible/roles/gsm-tester/tasks/main.yml b/ansible/roles/gsm-tester/tasks/main.yml
index 5cc83bc..83b3db6 100644
--- a/ansible/roles/gsm-tester/tasks/main.yml
+++ b/ansible/roles/gsm-tester/tasks/main.yml
@@ -33,10 +33,17 @@
- libsofia-sip-ua-glib-dev
- libsqlite3-dev
- libasound2-dev
- - mdbus2
- liblua5.3-dev
- lua-socket
+# mdbus2 is not available in debian10. TODO: compile it for >9
+- name: install mdbus2
+ apt:
+ name: "{{ item }}"
+ with_items:
+ - mdbus2
+ when: ansible_distribution == 'Debian' and ansible_distribution_version <= '9'
+
- name: install srsLTE runtime dependencies
apt:
name: "{{ item }}"