victoriametrics/tasks/vminsert.yaml

21 lines
521 B
YAML
Raw Normal View History

2021-12-22 12:03:21 +00:00
- 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