From 2cc848fe1a32959d54b23afe2aa153c2fd79b35c Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 17 May 2021 08:11:17 +0200 Subject: [PATCH] Use --assumeyes with explicit yum call. (#2533) --- tests/integration/targets/yum_versionlock/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/targets/yum_versionlock/tasks/main.yml b/tests/integration/targets/yum_versionlock/tasks/main.yml index dda5a11bf0..3ea170b145 100644 --- a/tests/integration/targets/yum_versionlock/tasks/main.yml +++ b/tests/integration/targets/yum_versionlock/tasks/main.yml @@ -24,7 +24,7 @@ register: lock_all_packages - name: Update all packages - command: yum update --setopt=obsoletes=0 + command: yum update --assumeyes --setopt=obsoletes=0 register: update_all_locked_packages changed_when: - '"No packages marked for update" not in update_all_locked_packages.stdout'