🔨 Switch to yml config
This commit is contained in:
parent
2aceda39ab
commit
161e673727
@ -1,5 +1,5 @@
|
|||||||
vector_template: vector.toml.j2
|
vector_template: vector.yml.j2
|
||||||
vector_config_file: /etc/vector/vector.toml
|
vector_config_file: /etc/vector/vector.yml
|
||||||
vector_nightly: no
|
vector_nightly: no
|
||||||
vector_version: "{{ vector_nightly | ternary('nightly','latest') }}"
|
vector_version: "{{ vector_nightly | ternary('nightly','latest') }}"
|
||||||
add_vector_docker_group: no # Add vector user to "docker" group
|
add_vector_docker_group: no # Add vector user to "docker" group
|
||||||
|
17
templates/vector.yml.j2
Normal file
17
templates/vector.yml.j2
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{{ ansible_managed | comment }}
|
||||||
|
|
||||||
|
data_dir: "/var/lib/vector"
|
||||||
|
|
||||||
|
|
||||||
|
api:
|
||||||
|
enabled: true
|
||||||
|
address: "0.0.0.0:8686"
|
||||||
|
|
||||||
|
sources:
|
||||||
|
{{ sources | to_nice_yaml(indent=2) | trim | indent(2) }}
|
||||||
|
|
||||||
|
transforms:
|
||||||
|
{{ transforms | to_nice_yaml(indent=2) | trim | indent(2) }}
|
||||||
|
|
||||||
|
sinks:
|
||||||
|
{{ sinks | to_nice_yaml(indent=2) | trim | indent(2) }}
|
Loading…
Reference in New Issue
Block a user