Skip to content

Commit

Permalink
Merge pull request #98 from ernestas-poskus/features/validate_black_b…
Browse files Browse the repository at this point in the history
…ox_config

Validate blackbox exporter config
  • Loading branch information
ernestas-poskus committed Aug 28, 2019
2 parents be628bf + f625e9a commit 496f1be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/install-blackbox_exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
dest: "{{ prometheus_blackbox_exporter_config_dir }}/blackbox.yml"
owner: "{{ prometheus_owner }}"
group: "{{ prometheus_group }}"
validate: "{{ prometheus_install_dir }}/{{ prometheus_blackbox_exporter_archive }}/blackbox_exporter --config.check --config.file %s"
notify:
- reload blackboxexporter

Expand Down

0 comments on commit 496f1be

Please sign in to comment.