From 9de9b3ea66083ff11ffa29234a9f5dcfee1f5275 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 11 Jun 2019 16:24:51 +0200 Subject: [PATCH] freshmaker/backend: Replace the yum module by the package module Drop the use of with_items, it is deprecated in these modules and it was not used in this role anyway... Signed-off-by: Pierre-Yves Chibon --- roles/freshmaker/backend/tasks/main.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/roles/freshmaker/backend/tasks/main.yml b/roles/freshmaker/backend/tasks/main.yml index febb901756..58f6067ccc 100644 --- a/roles/freshmaker/backend/tasks/main.yml +++ b/roles/freshmaker/backend/tasks/main.yml @@ -1,12 +1,9 @@ --- - name: install the latest Freshmaker package - yum: + package: name: freshmaker state: latest update_cache: yes - with_items: - - freshmaker - - python2-odcs-client when: freshmaker_upgrade notify: - restart fedmsg-hub