test: Skip running tests where initscripts is not supported

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
This commit is contained in:
Wen Liang 2023-12-20 14:42:20 -05:00 committed by Richard Megginson
parent e213dc9af9
commit eab5cccfcc
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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