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
27 lines
569 B
INI
27 lines
569 B
INI
[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
|