mirror of https://gerrit.osmocom.org/osmo-ci
ansible: Future proof for debian releases after debian9.0
buster has a liblua5.3-dev, openjdk-8-jre-headless and the ttcn3 packages should work as well. Change-Id: I76f516bbe503d15d9210ab14e7d9dd024e0ce72f
This commit is contained in:
parent
6af154e942
commit
bcd7207c40
|
@ -32,7 +32,7 @@
|
||||||
default_release: jessie-backports
|
default_release: jessie-backports
|
||||||
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie'
|
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie'
|
||||||
|
|
||||||
- name: install java for stretch
|
- name: install java for stretch or later
|
||||||
apt:
|
apt:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
|
@ -40,4 +40,4 @@
|
||||||
install_recommends: no
|
install_recommends: no
|
||||||
with_items:
|
with_items:
|
||||||
- openjdk-8-jre-headless
|
- openjdk-8-jre-headless
|
||||||
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
|
when: ansible_distribution == 'Debian' and ansible_distribution_version >= 9
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
- name: install ttcn3 dependencies
|
- name: install ttcn3 dependencies
|
||||||
include_tasks: ttcn3-slave.yml
|
include_tasks: ttcn3-slave.yml
|
||||||
when: ttcn3_slave and ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
|
when: ttcn3_slave and ansible_distribution == 'Debian' and ansible_distribution_version >= 9
|
||||||
|
|
||||||
- name: copy .gitconfig
|
- name: copy .gitconfig
|
||||||
copy:
|
copy:
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
default_release: jessie-backports
|
default_release: jessie-backports
|
||||||
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie'
|
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie'
|
||||||
|
|
||||||
- name: install liblua for stretch
|
- name: install liblua for stretch or later
|
||||||
apt:
|
apt:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
|
@ -105,4 +105,4 @@
|
||||||
install_recommends: no
|
install_recommends: no
|
||||||
with_items:
|
with_items:
|
||||||
- liblua5.3-dev
|
- liblua5.3-dev
|
||||||
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
|
when: ansible_distribution == 'Debian' and ansible_distribution_version >= 9
|
||||||
|
|
Loading…
Reference in New Issue