mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
test: Skip running tests where initscripts is not supported
Signed-off-by: Wen Liang <liangwen12year@gmail.com>
This commit is contained in:
parent
e213dc9af9
commit
eab5cccfcc
2 changed files with 2 additions and 2 deletions
|
|
@ -43,5 +43,5 @@
|
|||
- ansible_distribution_major_version != '6'
|
||||
|
||||
- networkmanager_version is version('1.20.0', '>=')
|
||||
- ansible_distribution != 'RedHat' or
|
||||
- ansible_distribution not in ['RedHat', 'CentOS'] or
|
||||
ansible_distribution_major_version | int < 9
|
||||
|
|
|
|||
|
|
@ -35,5 +35,5 @@
|
|||
- ansible_distribution_major_version != '6'
|
||||
# The test depends on behavior that is only visible with newer NM
|
||||
- networkmanager_version is version('1.22.0', '>=')
|
||||
- ansible_distribution != 'RedHat' or
|
||||
- ansible_distribution not in ['RedHat', 'CentOS'] or
|
||||
ansible_distribution_major_version | int < 9
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue