- name: Install vmselect {{ victoriametrics_vmselect_version }} dnf: name: "vmselect-{{ victoriametrics_vmselect_version }}" state: present register: vmselect_setup notify: Restart vmselect - name: Template vmselect config template: src: etc/victoriametrics/vmcluster/vmselect.conf.j2 dest: /etc/victoriametrics/vmcluster/vmselect.conf notify: Restart vmselect - name: Enable and start vmselect service systemd: name: vmselect state: started enabled: yes daemon_reload: yes