fix(1c): deploy company api and schema updates

This commit is contained in:
igor04091968
2026-05-22 10:47:57 +03:00
parent 02e896b05a
commit 243edccdd3
+22
View File
@@ -70,6 +70,8 @@
- clickhouse
- detections
- etl
- ai
- grafana
- ops
- sample
@@ -85,6 +87,8 @@
- clickhouse
- detections
- etl
- ai
- grafana
- ops
- sample
@@ -98,6 +102,8 @@
loop:
- bootstrap_runtime.sh
- check_ingest_freshness.sh
- run_company_intelligence_api.sh
- run_company_intelligence_refresh.sh
- run_ingest_cycle.sh
- name: Создать .env для file-1C analytics
@@ -235,6 +241,15 @@
mode: "0644"
notify: Перезагрузить systemd
- name: Установить systemd unit aw-1c-company-api.service
ansible.builtin.copy:
src: "{{ aw_file_1c_repo_root }}/clickhouse-1c/ops/aw-1c-company-api.service"
dest: /etc/systemd/system/aw-1c-company-api.service
owner: root
group: root
mode: "0644"
notify: Перезагрузить systemd
- name: Разрешить Windows upload key для igor
ansible.builtin.lineinfile:
path: /home/igor/.ssh/authorized_keys
@@ -258,6 +273,13 @@
state: started
daemon_reload: true
- name: Включить и запустить aw-1c-company-api.service
ansible.builtin.systemd:
name: aw-1c-company-api.service
enabled: true
state: started
daemon_reload: true
- name: Проверить доступность ClickHouse ping
ansible.builtin.uri:
url: "http://127.0.0.1:{{ aw_file_1c_clickhouse_port }}/ping"