diff --git a/tests/tests_environments.yml b/tests/tests_environments.yml index 713c4a6..0b9c13a 100644 --- a/tests/tests_environments.yml +++ b/tests/tests_environments.yml @@ -85,10 +85,9 @@ when: - >- ansible_distribution not in ["CentOS", "RedHat"] - or (ansible_distribution == "RedHat" - and ansible_distribution_version is version("8.6", ">=")) or (ansible_distribution == "CentOS" and ansible_distribution_major_version | int >= 8) + or (ansible_distribution_version is version("8.6", ">=")) block: - name: Get enabled environments include_tasks: tasks/list_environments.yml