mirror of https://gerrit.osmocom.org/osmo-ci
Make "ansible_distribution_version >= 9" work
The distribution version must not be quoted in this case (string) but given as an integer. Otherwise it will match only on 9, but not on 10. Change-Id: I6ff3d16d2eac891e6663e8860eec2058478f4b79
This commit is contained in:
parent
3935743127
commit
a17fa43f1a
|
@ -47,4 +47,4 @@
|
|||
install_recommends: no
|
||||
with_items:
|
||||
- openjdk-8-jre-headless
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_version >= '9'
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_version|int >= 9
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
- name: install ttcn3 dependencies
|
||||
include_tasks: ttcn3-slave.yml
|
||||
when: ttcn3_slave and ansible_distribution == 'Debian' and ansible_distribution_version >= '9' and not (ansible_architecture == "armv7l" or ansible_architecture == "arm64")
|
||||
when: ttcn3_slave and ansible_distribution == 'Debian' and ansible_distribution_version|int >= 9 and not (ansible_architecture == "armv7l" or ansible_architecture == "arm64")
|
||||
|
||||
- name: copy .gitconfig
|
||||
copy:
|
||||
|
|
|
@ -112,7 +112,7 @@
|
|||
install_recommends: no
|
||||
with_items:
|
||||
- liblua5.3-dev
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_version >= '9'
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_version|int >= 9
|
||||
|
||||
- name: install liblimesuite-dev for stretch or later
|
||||
apt:
|
||||
|
@ -122,7 +122,7 @@
|
|||
install_recommends: no
|
||||
with_items:
|
||||
- liblimesuite-dev
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_version >= '9'
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_version|int >= 9
|
||||
|
||||
- name: install osmo-remsim dependencies
|
||||
apt:
|
||||
|
@ -132,7 +132,7 @@
|
|||
with_items:
|
||||
- libjansson-dev
|
||||
- libulfius-dev
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_version == '9'
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_version|int >= 9
|
||||
|
||||
- name: install srsLTE build dependencies
|
||||
apt:
|
||||
|
|
Loading…
Reference in New Issue