switch this to use package
This commit is contained in:
parent
b27f0508df
commit
750f0c7333
1 changed files with 2 additions and 2 deletions
|
@ -40,11 +40,11 @@
|
||||||
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
|
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
|
||||||
check_mode: no
|
check_mode: no
|
||||||
- name: yum update fedmsg packages from the main repo
|
- name: yum update fedmsg packages from the main repo
|
||||||
yum: name={{item}} state=latest
|
package: name={{item}} state=latest
|
||||||
when: not testing
|
when: not testing
|
||||||
with_items: "{{packages}}"
|
with_items: "{{packages}}"
|
||||||
- name: yum update fedmsg packages from testing repo
|
- 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
|
when: testing
|
||||||
with_items: "{{packages}}"
|
with_items: "{{packages}}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue