diff --git a/tests/tests_provider_nm.yml b/tests/tests_provider_nm.yml index 5a4ee1a..3031e0d 100644 --- a/tests/tests_provider_nm.yml +++ b/tests/tests_provider_nm.yml @@ -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 diff --git a/tests/tests_regression_nm.yml b/tests/tests_regression_nm.yml index 04bc1fa..6910550 100644 --- a/tests/tests_regression_nm.yml +++ b/tests/tests_regression_nm.yml @@ -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