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
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:
1 parent
8ab5b65073
commit
425d878ec7
1 file changed
+6
-1
@@ -43,6 +43,11 @@
|
|||||||
group: vector
|
group: vector
|
||||||
mode: "0750"
|
mode: "0750"
|
||||||
|
|
||||||
|
- name: Удалить дефолтный vector.toml из пакета, если есть
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /etc/vector/vector.toml
|
||||||
|
state: absent
|
||||||
|
|
||||||
- name: Установить конфигурацию Vector
|
- name: Установить конфигурацию Vector
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: vector.yaml.j2
|
src: vector.yaml.j2
|
||||||
@@ -50,7 +55,7 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: vector
|
group: vector
|
||||||
mode: "0640"
|
mode: "0640"
|
||||||
validate: "vector validate --no-environment %s"
|
validate: "vector validate --no-environment --config-yaml %s"
|
||||||
register: vector_config
|
register: vector_config
|
||||||
|
|
||||||
- name: Запустить и включить systemd-сервис Vector
|
- name: Запустить и включить systemd-сервис Vector
|
||||||
|
|||||||
Reference in new issue
Block a user