From 91fdc8e06ae85fe8608257bc3dce345de87a3c2a Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Wed, 11 Oct 2023 09:23:19 +0200 Subject: [PATCH] Skip odbc tests on Python 2.6 and CentOS 7 (#7385) Skip odbc tests on Python 2.6 and CentOS 7. --- tests/integration/targets/odbc/aliases | 1 + tests/integration/targets/odbc/tasks/main.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/integration/targets/odbc/aliases b/tests/integration/targets/odbc/aliases index 987ebab24e..fdb25d5e70 100644 --- a/tests/integration/targets/odbc/aliases +++ b/tests/integration/targets/odbc/aliases @@ -11,3 +11,4 @@ skip/rhel9.0 skip/rhel9.1 skip/rhel9.2 skip/freebsd +skip/python2.6 diff --git a/tests/integration/targets/odbc/tasks/main.yml b/tests/integration/targets/odbc/tasks/main.yml index ce55ea8aa2..af5f57cb2a 100644 --- a/tests/integration/targets/odbc/tasks/main.yml +++ b/tests/integration/targets/odbc/tasks/main.yml @@ -10,6 +10,7 @@ - when: - ansible_os_family != 'Archlinux' # TODO install driver from AUR: https://aur.archlinux.org/packages/psqlodbc + - ansible_os_family != 'RedHat' or ansible_distribution_major_version != '7' # CentOS 7 stopped working block: #