initial: role for vector

This commit is contained in:
2022-08-02 10:09:52 +07:00
commit 09754d7641
12 changed files with 136 additions and 0 deletions

View File

@@ -0,0 +1 @@
{{ vector_config | to_nice_yaml }}

View File

@@ -0,0 +1,7 @@
[Unit]
Description=Vector service
[Service]
User={{ ansible_user_id }}
Group={{ ansible_user_gid }}
ExecStart=/usr/local/bin/vector --config-yaml {{ vector_config_dir }}/vector.yaml --watch-config
Restart=always