Blob Blame History Raw
From 7ff86f2fa05998afcd8ae87d9cdd660ef5b6ee2c Mon Sep 17 00:00:00 2001
From: Jan Kurik <jkurik@redhat.com>
Date: Thu, 18 Feb 2021 17:09:48 +1100
Subject: [PATCH] Update mssql test to exclude non-x86_64 architectures

pcp-pmda-mssql (and SQL Server itself) are x86_64-only.
---
 tests/tests_sanity_mssql.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/tests_sanity_mssql.yml b/tests/tests_sanity_mssql.yml
index 6f1e2cc..8602c36 100644
--- a/tests/tests_sanity_mssql.yml
+++ b/tests/tests_sanity_mssql.yml
@@ -12,7 +12,8 @@
     - meta: end_host
       when: (ansible_distribution in ['RedHat'] and
              ( ansible_facts['distribution_version'] is version('8.4', '<'))) or
-             ansible_distribution not in ['Fedora', 'RedHat']
+             ansible_distribution not in ['Fedora', 'RedHat'] or
+             ansible_architecture not in ['x86_64']
 
     - name: Save state of services
       import_tasks: get_services_state.yml