mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 18:41:38 +08:00
datagrepper: replace the yum module by the package module
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user