feat(dlp): add dedicated health check and grafana dashboard

This commit is contained in:
igor04091968
2026-05-13 07:08:23 +03:00
parent 6ebf0ac67e
commit 2e5242f5ba
4 changed files with 653 additions and 2 deletions
+18
View File
@@ -650,6 +650,14 @@
group: root
mode: "0755"
- name: Установить скрипт dlp-health-check
ansible.builtin.copy:
src: "{{ aw_repo_root }}/scripts/dlp-health-check.py"
dest: /usr/local/bin/dlp-health-check
owner: root
group: root
mode: "0755"
- name: Установить systemd unit AW worktime UI bridge
ansible.builtin.copy:
src: "{{ aw_repo_root }}/aw-server/aw-worktime-ui-bridge.service"
@@ -1312,6 +1320,16 @@
ansible.builtin.debug:
msg: "{{ aw_post_deploy_health.stdout }}"
- name: Запустить /usr/local/bin/dlp-health-check --json
ansible.builtin.command:
cmd: /usr/local/bin/dlp-health-check --json
register: dlp_post_deploy_health
changed_when: false
- name: Показать результат dlp-health-check
ansible.builtin.debug:
msg: "{{ dlp_post_deploy_health.stdout }}"
handlers:
- name: Перезагрузить systemd
ansible.builtin.systemd: