From ee89324989e6e3f528996fbbd5e4fd53bb1841ab Mon Sep 17 00:00:00 2001 From: Jiri Podivin Date: Wed, 22 Sep 2021 14:54:43 +0200 Subject: [PATCH] Elevating priviledges for the check_package_update Priviledges for the check_package_update use in the check_latest_packages_version role are now elevated to prevent permissions issues on satellite registered hosts. Resolves: rhbz#2005986 Signed-off-by: Jiri Podivin Change-Id: I2acbebab3c51da957a81bf846b6409166dd15fcb --- .../roles/check_latest_packages_version/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/validations_common/roles/check_latest_packages_version/tasks/main.yml b/validations_common/roles/check_latest_packages_version/tasks/main.yml index 3d5e005..c17c9ea 100644 --- a/validations_common/roles/check_latest_packages_version/tasks/main.yml +++ b/validations_common/roles/check_latest_packages_version/tasks/main.yml @@ -6,6 +6,7 @@ - '!min' - name: Get available updates for packages + become: true check_package_update: packages_list: "{{ packages_list }}" register: updates