diff --git a/tests/integration/targets/patch/tasks/main.yml b/tests/integration/targets/patch/tasks/main.yml index 8d9746a..8737f12 100644 --- a/tests/integration/targets/patch/tasks/main.yml +++ b/tests/integration/targets/patch/tasks/main.yml @@ -1,3 +1,12 @@ +- debug: + msg: >- + Skipping {{ ansible_distribution }} as ansible-base does not contain + the packaging module ({{ ansible_pkg_mgr }}) for this operating system + +- 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'] + - name: ensure idempotency installed package: name: patch diff --git a/tests/integration/targets/synchronize/tasks/main.yml b/tests/integration/targets/synchronize/tasks/main.yml index 738c9c5..6f8e5f5 100644 --- a/tests/integration/targets/synchronize/tasks/main.yml +++ b/tests/integration/targets/synchronize/tasks/main.yml @@ -1,3 +1,12 @@ +- debug: + msg: >- + Skipping {{ ansible_distribution }} as ansible-base does not contain + the packaging module ({{ ansible_pkg_mgr }}) for this operating system + +- 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'] + - name: install rsync package: name: rsync