From 9b1f450102ce09a303c1f56acba534ef51dd3ed0 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Wed, 11 Oct 2023 15:58:19 +0200 Subject: [PATCH] [PR #7385/91fdc8e0 backport][stable-6] Skip odbc tests on Python 2.6 and CentOS 7 (#7387) Skip odbc tests on Python 2.6 and CentOS 7 (#7385) Skip odbc tests on Python 2.6 and CentOS 7. (cherry picked from commit 91fdc8e06ae85fe8608257bc3dce345de87a3c2a) Co-authored-by: Felix Fontein --- 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: #