breakwang / ansible-playbooks

Ansible Playbooks for Victoria Metrics monorepo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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://ansible.readthedocs.io/projects/molecule/installation/

About

Ansible Playbooks for Victoria Metrics monorepo

License:Apache License 2.0


Languages

Language:Jinja 74.6%Language:Shell 25.4%