diff --git a/playbooks/manual/upgrade/bodhi.yml b/playbooks/manual/upgrade/bodhi.yml index 6d21f3a874..60d97e5f77 100644 --- a/playbooks/manual/upgrade/bodhi.yml +++ b/playbooks/manual/upgrade/bodhi.yml @@ -29,16 +29,16 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} + command: dnf clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - - name: yum update bodhi-server packages from main repo - yum: name="{{ item }}" state=latest + - name: dnf update bodhi-server packages from main repo + dnf: name="{{ item }}" state=latest with_items: - bodhi-docs - bodhi-server - python2-fedmsg-atomic-composer - - name: yum update bodhi-server packages from testing repo - yum: name="{{ item }}" state=latest enablerepo=infrastructure-tags-stg + - name: dnf update bodhi-server packages from testing repo + dnf: name="{{ item }}" state=latest enablerepo=infrastructure-tags-stg with_items: - bodhi-docs - bodhi-server