Use dnf instead of yum in the Bodhi upgrade playbook.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
6efaf70c98
commit
e2baeff4d4
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue