Change that from yum to dnf.

This commit is contained in:
Ralph Bean 2015-09-30 18:52:14 +00:00
parent 21d93f0a7e
commit a5cb282cd1

View file

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