feat: enhance Ansible playbook with project directory permissions and service checks

- Add tasks to set directory permissions for the project before and after cloning.
- Introduce a task to reload the SSH service to apply new configurations.
- Implement a check for Node Exporter metrics availability.
- Update Prometheus configuration comment for clarity on Node Exporter target.
This commit is contained in:
2025-09-19 01:56:12 +03:00
parent 1db579797d
commit 14b19699c5
2 changed files with 36 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ scrape_configs:
# Job для мониторинга Node Exporter
- job_name: 'node'
static_configs:
- targets: ['172.20.0.1:9100'] # IP хоста в Docker сети bots_network
- targets: ['172.20.0.1:9100'] # Node Exporter на хосте через Docker gateway
labels:
instance: 'main-server'