Skip to content

Cloud-Temple/ansible-playbooks-victoriametrics

 
 

Repository files navigation

ansible-playbooks

Ansible roles and playbooks for Victoria Metrics.

How to install

Roles are published in ansible galaxy: https://galaxy.ansible.com/victoriametrics

Install collection:

ansible-galaxy collection install victoriametrics.cluster

Contents

Collection includes the following roles:

  • docker - role for docker installation
  • load_balancer - nginx setup for load balancing between select and insert nodes
  • cluster - installs and configures VictoriaMetrics cluster running in docker
  • single - installs and configures VictoriaMetrics single node
  • vmagent - installs and configures vmagent
  • vmalert - installs and configures vmalert
  • vmauth - installs and configures vmauth

TODO

  • add non-docker environment
  • fix hardcoded ports

Testing

I'm using vagrant and libvirt for testing purpose. visit vendors' web-site for instructions of installing program. vagrant: https://www.vagrantup.com/downloads

Also, most roles are tested with molecule. Please, check out installation docs: https://molecule.readthedocs.io/en/latest/installation.html

About

Ansible Playbooks for Victoria Metrics monorepo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 67.0%
  • Shell 33.0%