mirror of
https://gitea.0xace.cc/ansible-galaxy/victoriametrics.git
synced 2024-11-25 08:06:38 +00:00
21 lines
521 B
YAML
21 lines
521 B
YAML
|
- name: Install vminsert {{ victoriametrics_vminsert_version }}
|
||
|
dnf:
|
||
|
name: "vminsert-{{ victoriametrics_vminsert_version }}"
|
||
|
state: present
|
||
|
register: vminsert_setup
|
||
|
notify: Restart vminsert
|
||
|
|
||
|
- name: Template vminsert config
|
||
|
template:
|
||
|
src: etc/victoriametrics/vmcluster/vminsert.conf.j2
|
||
|
dest: /etc/victoriametrics/vmcluster/vminsert.conf
|
||
|
notify: Restart vminsert
|
||
|
|
||
|
- name: Enable and start vminsert service
|
||
|
systemd:
|
||
|
name: vminsert
|
||
|
state: started
|
||
|
enabled: yes
|
||
|
daemon_reload: yes
|
||
|
|