diff --git a/playbooks/manual/upgrade/fedmsg.yml b/playbooks/manual/upgrade/fedmsg.yml index 56e4017831..459b25163b 100644 --- a/playbooks/manual/upgrade/fedmsg.yml +++ b/playbooks/manual/upgrade/fedmsg.yml @@ -40,11 +40,11 @@ command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update fedmsg packages from the main repo - yum: name={{item}} state=latest + package: name={{item}} state=latest when: not testing with_items: "{{packages}}" - name: yum update fedmsg packages from testing repo - yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg + package: name={{item}} state=latest enablerepo=infrastructure-tags-stg when: testing with_items: "{{packages}}"