Skip to content

Commit

Permalink
validate templated promtail config file (#221)
Browse files Browse the repository at this point in the history
Co-authored-by: Bryant Foresman <[email protected]>
  • Loading branch information
patrickjahns and life5ign authored Apr 24, 2024
1 parent 901a85e commit 506ffa7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
owner: root
group: "{{ promtail_system_group }}"
mode: 0644
validate: /usr/local/bin/promtail -config.file %s -check-syntax

- name: Create systemd service unit
notify:
Expand Down

0 comments on commit 506ffa7

Please sign in to comment.