mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #6414/69d7f19c backport][stable-5] Restrict jail tests for sysrc to certain FreeBSD versions (#6420)
Restrict jail tests for sysrc to certain FreeBSD versions (#6414)
Restrict jail tests for sysrc to certain FreeBSD versions.
(cherry picked from commit 69d7f19c74
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
624c5f7b68
commit
7d3f6be2a2
1 changed files with 5 additions and 3 deletions
|
@ -139,10 +139,12 @@
|
||||||
##
|
##
|
||||||
- name: Test within jail
|
- name: Test within jail
|
||||||
#
|
#
|
||||||
# NOTE: FreeBSD 12.0 test runner receives a "connection reset by peer" after ~20% downloaded so we are
|
# NOTE: currently fails with FreeBSD 12 with minor version less than 4
|
||||||
# only running this on 12.1 or higher
|
# NOTE: currently fails with FreeBSD 13 with minor version less than 1
|
||||||
#
|
#
|
||||||
when: ansible_distribution_version is version('12.01', '>=')
|
when: >-
|
||||||
|
ansible_distribution_version is version('12.4', '>=') and ansible_distribution_version is version('13', '<')
|
||||||
|
or ansible_distribution_version is version('13.1', '>=')
|
||||||
block:
|
block:
|
||||||
- name: Setup testjail
|
- name: Setup testjail
|
||||||
include: setup-testjail.yml
|
include: setup-testjail.yml
|
||||||
|
|
Loading…
Reference in a new issue