mote: yum -> package

Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
Nils Philippsen 2019-06-11 16:27:14 +01:00 committed by Pierre-Yves Chibon
parent b9e0237737
commit 6dbffeaae4

View file

@ -14,10 +14,10 @@
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update mote packages from main repo
yum: name="mote" state=latest
- name: update mote packages from main repo
package: name="mote" state=latest
when: not testing
- name: yum update mote packages from testing repo
- name: update mote packages from testing repo
yum: name="mote" state=latest enablerepo=infrastructure-tags-stg
when: testing