r/vmagent: Deploy vmagent

The *vmagent* role installs and configures the scraping and routing
agent used in the Victoria Metrics ecosystem.
This commit is contained in:
2022-07-18 18:13:31 -05:00
parent 956a40f054
commit 60505657f3
8 changed files with 124 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
- 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