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: tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - 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 check_mode: no
- name: yum update bodhi-server packages from main repo - name: dnf update bodhi-server packages from main repo
yum: name="{{ item }}" state=latest dnf: name="{{ item }}" state=latest
with_items: with_items:
- bodhi-docs - bodhi-docs
- bodhi-server - bodhi-server
- python2-fedmsg-atomic-composer - python2-fedmsg-atomic-composer
- name: yum update bodhi-server packages from testing repo - name: dnf update bodhi-server packages from testing repo
yum: name="{{ item }}" state=latest enablerepo=infrastructure-tags-stg dnf: name="{{ item }}" state=latest enablerepo=infrastructure-tags-stg
with_items: with_items:
- bodhi-docs - bodhi-docs
- bodhi-server - bodhi-server