feat: Добавлена установка Node Exporter на все хосты

- Создана роль node_exporter для установки на LXC контейнеры
- Добавлен плейбук deploy_all_node_exporters.yml
- Настроен ansible.cfg для правильного поиска ролей
- Node Exporter успешно установлен на все 10 хостов
- Prometheus собирает метрики со всех Node Exporters
- Все 14 таргетов в состоянии UP
This commit is contained in:
Freazzzing
2026-02-03 04:43:05 +00:00
parent 8212b75ac9
commit 26f6832275
5 changed files with 152 additions and 0 deletions

View File

@ -0,0 +1,15 @@
---
- name: Deploy Node Exporter to ALL hosts
hosts: all
become: yes
gather_facts: yes
pre_tasks:
- name: Update apt cache
apt:
update_cache: yes
when: ansible_os_family == 'Debian'
roles:
- role: node_exporter
tags: node_exporter