diff --git a/tasks/install-blackbox_exporter.yml b/tasks/install-blackbox_exporter.yml index c76cee9..d76153a 100644 --- a/tasks/install-blackbox_exporter.yml +++ b/tasks/install-blackbox_exporter.yml @@ -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