Use dnf instead of yum in the Bodhi upgrade playbook.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2017-10-12 15:02:09 +00:00
parent 6efaf70c98
commit e2baeff4d4

View file

@ -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