From b519bde03f5b28a7405fe690d743d964fa7fe253 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Thu, 19 Mar 2020 12:24:03 -0500 Subject: [PATCH] Skip AIX on at --- tests/integration/targets/at/tasks/main.yml | 3 ++- tests/integration/targets/patch/tasks/main.yml | 1 + tests/integration/targets/synchronize/tasks/main.yml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/integration/targets/at/tasks/main.yml b/tests/integration/targets/at/tasks/main.yml index 8eaa3bd..5c01559 100644 --- a/tests/integration/targets/at/tasks/main.yml +++ b/tests/integration/targets/at/tasks/main.yml @@ -20,10 +20,11 @@ msg: >- Skipping {{ ansible_distribution }} as ansible-base does not contain the packaging module ({{ ansible_pkg_mgr }}) for this operating system + when: ansible_pkg_mgr not in ['apt', 'dnf', 'yum'] or ansible_distribution in ['AIX'] - name: stop executing on hosts that we don't have package manager modules for meta: end_host - when: ansible_pkg_mgr not in ['apt', 'dnf', 'yum'] + when: ansible_pkg_mgr not in ['apt', 'dnf', 'yum'] or ansible_distribution in ['AIX'] - set_fact: output_dir_test={{output_dir}}/at diff --git a/tests/integration/targets/patch/tasks/main.yml b/tests/integration/targets/patch/tasks/main.yml index 8737f12..19a70ec 100644 --- a/tests/integration/targets/patch/tasks/main.yml +++ b/tests/integration/targets/patch/tasks/main.yml @@ -2,6 +2,7 @@ msg: >- Skipping {{ ansible_distribution }} as ansible-base does not contain the packaging module ({{ ansible_pkg_mgr }}) for this operating system + when: ansible_pkg_mgr not in ['apt', 'dnf', 'yum'] - name: stop executing on hosts that we don't have package manager modules for meta: end_host diff --git a/tests/integration/targets/synchronize/tasks/main.yml b/tests/integration/targets/synchronize/tasks/main.yml index 6f8e5f5..355729c 100644 --- a/tests/integration/targets/synchronize/tasks/main.yml +++ b/tests/integration/targets/synchronize/tasks/main.yml @@ -2,6 +2,7 @@ msg: >- Skipping {{ ansible_distribution }} as ansible-base does not contain the packaging module ({{ ansible_pkg_mgr }}) for this operating system + when: ansible_pkg_mgr not in ['apt', 'dnf', 'yum'] - name: stop executing on hosts that we don't have package manager modules for meta: end_host