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:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user