fix(host): clean up legacy docker exporter on core-mon
ansible-core-mon / deploy (push) Successful in 20s
ansible-core-net / deploy (push) Successful in 28s
ansible-core-secrets / deploy (push) Successful in 12s
ansible-rus-central / deploy (push) Successful in 37s

This commit is contained in:
karpenok committed 2026-11-11 16:15:15 +07:00
1 parent 7b2f6790c4
commit 0205a5502a
1 file changed
+6
+6
View File
@@ -72,6 +72,12 @@
enabled: true
state: started
- name: Остановить устаревший контейнер node-exporter (если есть)
ansible.builtin.command: docker rm -f monitoring-node-exporter
register: rm_legacy_exporter
failed_when: false
changed_when: rm_legacy_exporter.rc == 0
- name: Включить prometheus-node-exporter
ansible.builtin.systemd:
name: prometheus-node-exporter