From 5c150f7be20ee16c70f9693210ef36a98b81a233 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Tue, 20 Jun 2023 10:32:01 -0300 Subject: [PATCH] Don't use 'warn: false' parameter with Ansible shell builtin. The 'warn' parameter of Ansible 'shell' and 'command' builtin plugins was deprecated in Ansible 2.11 and removed in Ansible 2.14. This patch fixes 'baseos-ci.redhat-module.tier0.functional' tests that were failing due to the use of the parameter on newer versions of Ansible. --- tests/tests.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/tests.yml b/tests/tests.yml index 05688e4..22c6b85 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -5,20 +5,12 @@ pre_tasks: - name: Enable brewroot repository (so we have all latest packages available) command: dnf config-manager --set-enabled baseos-ci-tag-repository - args: - warn: false - name: Enable IDM module command: dnf module enable -y idm:DL1 - args: - warn: false - name: Install IDM packages command: dnf module install -y idm:DL1/server idm:DL1/dns - args: - warn: false - name: Get Custodia version command: rpm -q --qf '%{VERSION}' custodia - args: - warn: false register: custodia_version roles: - role: standard-test-basic