update victoria metrics role and bump to v1.98.0

This commit is contained in:
ace
2024-05-08 19:24:53 +03:00
parent 18ed241bb0
commit 53cd90e91c
3 changed files with 17 additions and 18 deletions

View File

@ -1,33 +1,33 @@
- name: Install yum corp plugin
- name: Install dnf-plugins-core
dnf:
name: yum-plugin-copr
name: dnf-plugins-core
state: present
- name: Check corp repo antonpatsev/VictoriaMetrics is enabled
- name: Check copr repo antonpatsev/VictoriaMetrics is enabled
shell: dnf -y copr list --enabled
register: corp_repo
register: copr_repo
changed_when: false
- name: Enable corp repo antonpatsev/VictoriaMetrics
- name: Enable copr repo antonpatsev/VictoriaMetrics
shell: dnf -y copr enable antonpatsev/VictoriaMetrics
when: '"antonpatsev/VictoriaMetrics" not in corp_repo.stdout'
when: '"antonpatsev/VictoriaMetrics" not in copr_repo.stdout'
- name: Include vmstorage {{ victoriametrics_vmstorage_version }} deploy
include: vmstorage.yaml
import_tasks: vmstorage.yaml
when: inventory_hostname in groups[victoriametrics_vmstorage_group]
- name: Include vminsert {{ victoriametrics_vminsert_version }} deploy
include: vminsert.yaml
import_tasks: vminsert.yaml
when: inventory_hostname in groups[victoriametrics_vminsert_group]
- name: Include vmselect {{ victoriametrics_vmselect_version }} deploy
include: vmselect.yaml
import_tasks: vmselect.yaml
when: inventory_hostname in groups[victoriametrics_vmselect_group]
- name: Include vmauth {{ victoriametrics_vmauth_version }} deploy
include: vmauth.yaml
import_tasks: vmauth.yaml
when: inventory_hostname in groups[victoriametrics_vmauth_group]
- name: Include vmagent {{ victoriametrics_vmagent_version }} deploy
include: vmagent.yaml
import_tasks: vmagent.yaml
when: inventory_hostname in groups[victoriametrics_vmagent_group]