Initial commit: Ansible configuration for monitoring stack
Contains: - Production inventory (inventories/production/hosts) - VictoriaMetrics installation (playbooks/monitoring/install_victoriametrics.yml) - Vault setup and secrets management (playbooks/vault/) - Base system configuration (playbooks/infrastructure/) - Directory structure for monitoring components
This commit is contained in:
26
inventories/production/hosts
Normal file
26
inventories/production/hosts
Normal file
@ -0,0 +1,26 @@
|
||||
[all:vars]
|
||||
ansible_user=root
|
||||
ansible_ssh_private_key_file=~/.ssh/id_ansible
|
||||
|
||||
# Основные группы (без ansible ноды)
|
||||
[infrastructure]
|
||||
192.168.0.100 # git
|
||||
192.168.0.102 # terraform
|
||||
192.168.0.103 # vault
|
||||
192.168.0.104 # victoriametrics
|
||||
192.168.0.105 # prometheus
|
||||
192.168.0.106 # grafana
|
||||
|
||||
[applications]
|
||||
192.168.0.110 # app1
|
||||
192.168.0.111 # app2
|
||||
192.168.0.112 # app3
|
||||
|
||||
# Ansbile нода отдельно
|
||||
[ansible_control]
|
||||
192.168.0.101
|
||||
|
||||
# Группа для всех кроме ansible
|
||||
[all_except_ansible:children]
|
||||
infrastructure
|
||||
applications
|
||||
Reference in New Issue
Block a user