aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2018-08-26 16:20:37 +0100
committerHolger Freyther <holger@freyther.de>2018-08-30 15:09:54 +0000
commitc52d3505f85399811a6eb09a482e83adf34d7268 (patch)
tree9d1c2e2435779689bd97a0ce6023454861ea48f2 /ansible
parentfa24bc77ef515240053fa73b6a0d52690c1b59e8 (diff)
OsmocomBB: Add lua5.3 for the scriping interface
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/osmocom-jenkins-slave/tasks/osmocom_build_deps.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/ansible/roles/osmocom-jenkins-slave/tasks/osmocom_build_deps.yml b/ansible/roles/osmocom-jenkins-slave/tasks/osmocom_build_deps.yml
index 2ad1ec8..71bf9f1 100644
--- a/ansible/roles/osmocom-jenkins-slave/tasks/osmocom_build_deps.yml
+++ b/ansible/roles/osmocom-jenkins-slave/tasks/osmocom_build_deps.yml
@@ -85,3 +85,22 @@
- libusb-dev
- libzmq3-dev
- sqlite3
+
+- name: install liblua for jessie
+ apt:
+ name: liblua5.3-dev
+ cache_valid_time: 3600
+ update_cache: yes
+ install_recommends: no
+ default_release: jessie-backports
+ when: ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie'
+
+- name: install liblua for stretch
+ apt:
+ name: "{{ item }}"
+ cache_valid_time: 3600
+ update_cache: yes
+ install_recommends: no
+ with_items:
+ - liblua5.3-dev
+ when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'