Change that from yum to dnf.
This commit is contained in:
parent
21d93f0a7e
commit
a5cb282cd1
1 changed files with 9 additions and 9 deletions
|
@ -12,19 +12,19 @@
|
|||
|
||||
tasks:
|
||||
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
|
||||
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
|
||||
command: dnf clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
|
||||
always_run: yes
|
||||
- name: yum update autocloud packages from main repo
|
||||
yum: name="autocloud*" state=latest
|
||||
- name: dnf update autocloud packages from main repo
|
||||
dnf: name="autocloud*" state=latest
|
||||
when: not testing
|
||||
- name: yum update autocloud packages from testing repo
|
||||
yum: name="autocloud*" state=latest enablerepo=infrastructure-testing
|
||||
- name: dnf update autocloud packages from testing repo
|
||||
dnf: name="autocloud*" state=latest enablerepo=infrastructure-testing
|
||||
when: testing
|
||||
- name: yum update tunir packages from main repo
|
||||
yum: name="tunir*" state=latest
|
||||
- name: dnf update tunir packages from main repo
|
||||
dnf: name="tunir*" state=latest
|
||||
when: not testing
|
||||
- name: yum update tunir packages from testing repo
|
||||
yum: name="tunir*" state=latest enablerepo=infrastructure-testing
|
||||
- name: dnf update tunir packages from testing repo
|
||||
dnf: name="tunir*" state=latest enablerepo=infrastructure-testing
|
||||
when: testing
|
||||
|
||||
- name: verify the frontend and stop it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue