Files
configpolicy/roles/vmagent/handlers/main.yml
Dustin C. Hatch 60505657f3 r/vmagent: Deploy vmagent
The *vmagent* role installs and configures the scraping and routing
agent used in the Victoria Metrics ecosystem.
2022-08-10 22:18:43 -05:00

14 lines
221 B
YAML

- name: reload systemd
systemd:
daemon_reload: true
- name: restart vmagent
service:
name: vmagent
state: restarted
- name: reload vmagent
uri:
url: http://[::1]:8429/-/reload
changed_when: true