Skip to content

Instantly share code, notes, and snippets.

@kryachkov
Created February 19, 2020 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kryachkov/c83b9a5f08a3fcf01b69af8d2a98fe2b to your computer and use it in GitHub Desktop.
Save kryachkov/c83b9a5f08a3fcf01b69af8d2a98fe2b to your computer and use it in GitHub Desktop.
hosts:
db:
master:
hosts:
- db-master1.domain.tld
roles:
- unix_users
- postgres_master
- prometheus_pg_exporter
slave:
hosts:
- db-slave1.domain.tld
roles:
- unix_users
- postgres_slave
- prometheus_node_exporter
- prometheus_pg_exporter
etl:
hosts:
- etl1.domain.tld
roles:
- unix_users
- python
- prometheus_node_exporter
- my_own_etl_role
redis:
hosts:
- redis1.doman.tld
roles:
- unix_users
- redis
- prometheus_redis_exporter
api:
hosts:
- app1.domain.tld
- app2.domain.tld
- app3.domain.tld
roles:
- unix_users
- ruby
- prometheus_node_exporter
- prometheus_rails_exporter
worker:
hosts:
- worker1.domain.tld
- worker2.domain.tld
roles:
- unix_users
- ruby
- prometheus_node_exporter
- prometheus_sidekiq_exporter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment