datagrepper: replace the yum module by the package module
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
0d24af954e
commit
f2d38f43d8
1 changed files with 2 additions and 2 deletions
|
@ -15,10 +15,10 @@
|
|||
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
|
||||
check_mode: no
|
||||
- name: yum update datagrepper packages from main repo
|
||||
yum: name="datagrepper" state=latest
|
||||
package: name="datagrepper" state=latest
|
||||
when: not testing
|
||||
- name: yum update datagrepper packages from testing repo
|
||||
yum: name="datagrepper" state=latest enablerepo=infrastructure-tags-stg
|
||||
package: name="datagrepper" state=latest enablerepo=infrastructure-tags-stg
|
||||
when: testing
|
||||
|
||||
- name: verify the config and restart it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue