diff --git a/playbooks/manual/upgrade/autocloud.yml b/playbooks/manual/upgrade/autocloud.yml index ca09cf6207..e4bf7ef545 100644 --- a/playbooks/manual/upgrade/autocloud.yml +++ b/playbooks/manual/upgrade/autocloud.yml @@ -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