From 48746debfe452c3349eac66fc99d8862260f1f2f Mon Sep 17 00:00:00 2001 From: Sayan Chowdhury Date: Tue, 10 Oct 2017 08:56:46 +0000 Subject: [PATCH] Fix the fedimg upgrade playbook Signed-off-by: Sayan Chowdhury --- playbooks/manual/upgrade/fedimg.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/playbooks/manual/upgrade/fedimg.yml b/playbooks/manual/upgrade/fedimg.yml index 6699f986d3..32f8a944df 100644 --- a/playbooks/manual/upgrade/fedimg.yml +++ b/playbooks/manual/upgrade/fedimg.yml @@ -37,11 +37,11 @@ - include: "{{ handlers_path }}/restart_services.yml" tasks: - - name: dnf update fedfind packages from main repo - dnf: name="fedfind" state=latest + - name: yum update fedfind packages from main repo + yum: name="fedfind" state=latest when: not testing - - name: dnf update fedfind packages from testing repo - dnf: name="fedfind" state=latest enablerepo=infrastructure-tags-stg + - name: yum update fedfind packages from testing repo + yum: name="fedfind" state=latest enablerepo=infrastructure-tags-stg when: testing - name: update python2-fedfind @@ -57,11 +57,11 @@ - include: "{{ handlers_path }}/restart_services.yml" tasks: - - name: dnf update fedfind packages from main repo - dnf: name="python2-fedfind" state=latest + - name: yum update fedfind packages from main repo + yum: name="python2-fedfind" state=latest when: not testing - - name: dnf update fedfind packages from testing repo - dnf: name="python2-fedfind" state=latest enablerepo=infrastructure-tags-stg + - name: yum update fedfind packages from testing repo + yum: name="python2-fedfind" state=latest enablerepo=infrastructure-tags-stg when: testing - name: verify the backend and restart it