Skip to content

v98765/v98765_vm_single

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name : Victoriamertics single node tsdb

Deploy and configure single-node victoria-metrics

Requirements

ansible 2.10

Role Variables

Name Default Value Description
victoriametrics_version "1.70.0" current version
victoriametrics_system_user "victoriametrics"
victoriametrics_system_group "victoriametrics"
victoriametrics_install_dir "/usr/local/bin"
victoriametrics_repo_dir "/var/tmp/archive" vm files
victoriametrics_storage_data_path "/var/lib/vm" storage directory
victoriametrics_retention_period "12" 1 year retention

Read this https://docs.victoriametrics.com/#environment-variables аnd set more vars, put it into templates/victoriametrics.j2

Copy vm files to victoriametrics_repo_dir:

mkdir -p /var/tmp/archive
cd /var/tmp/archive
wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v1.70.0/victoria-metrics-amd64-v1.70.0.tar.gz

Example Playbook

---
- hosts: vm
  gather_facts: true
  connection: ssh
  roles:
    - v98765_vm_single

License

BSD

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages