fix(vector): pass --config-yaml to vector validate and remove default vector.toml
ansible-deploy / plan (push) Successful in 2s
ansible-lint / lint (push) Successful in 2s
ansible-deploy / deploy (core-mon, ) (push) Successful in 9s
ansible-deploy / deploy (core-net, ) (push) Successful in 10s
ansible-deploy / deploy (core-secrets, ) (push) Successful in 8s
ansible-deploy / deploy (ger-nod-02, ) (push) Successful in 14s
ansible-deploy / deploy (rus-central, ) (push) Successful in 16s

This commit is contained in:
karpenok committed 2026-11-18 11:47:04 +07:00
1 parent 8ab5b65073
commit 425d878ec7
1 file changed
+6 -1
+6 -1
View File
@@ -43,6 +43,11 @@
group: vector
mode: "0750"
- name: Удалить дефолтный vector.toml из пакета, если есть
ansible.builtin.file:
path: /etc/vector/vector.toml
state: absent
- name: Установить конфигурацию Vector
ansible.builtin.template:
src: vector.yaml.j2
@@ -50,7 +55,7 @@
owner: root
group: vector
mode: "0640"
validate: "vector validate --no-environment %s"
validate: "vector validate --no-environment --config-yaml %s"
register: vector_config
- name: Запустить и включить systemd-сервис Vector