feat(vmagent): add ansible role with docker support

This commit is contained in:
2024-10-10 20:30:00 +02:00
parent 7080d5fd24
commit 0165a03a89
12 changed files with 235 additions and 0 deletions

View File

@ -0,0 +1,16 @@
---
vmagent_user: vmagent
vmagent_version: "1.104.0"
vmagent_state: present
vmagent_deployment_method: "docker"
vmagent_scrape_config_file: "/etc/vmagent/scrape_config.yml"
vmagent_config_path: "{{ vmagent_scrape_config_file | dirname }}"
vmagent_cache_path: "/var/cache/vmagent"
vmagent_base_flags:
- "enableTCP6"
- "envflag.enable"
vmagent_flags: ~
vmagent_all_flags: >-2
{{ vmagent_base_flags + (vmagent_flags | default([], true)) }}