mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-10 06:14:13 +00:00
[fix] (blackblox-exporter) Update hardcoded install path
Signed-off-by: Emmanuel Bilheude <ebilheude@dotscreen.com>
This commit is contained in:
parent
affb21c098
commit
edec9daf5b
2 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@
|
|||
|
||||
- name: Ensure blackbox exporter binary has cap_net_raw capability
|
||||
community.general.capabilities:
|
||||
path: '/usr/local/bin/blackbox_exporter'
|
||||
path: "{{ blackbox_exporter_binary_install_dir }}/blackbox_exporter"
|
||||
capability: cap_net_raw+ep
|
||||
state: present
|
||||
when: not ansible_check_mode
|
||||
|
|
|
@ -11,7 +11,7 @@ User={{ blackbox_exporter_user }}
|
|||
Group={{ blackbox_exporter_group }}
|
||||
PermissionsStartOnly=true
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
ExecStart=/usr/local/bin/blackbox_exporter \
|
||||
ExecStart={{ blackbox_exporter_binary_install_dir }}/blackbox_exporter \
|
||||
--config.file={{ blackbox_exporter_config_dir }}/blackbox_exporter.yml \
|
||||
{% for flag, flag_value in blackbox_exporter_cli_flags.items() -%}
|
||||
--{{ flag }}={{ flag_value }} \
|
||||
|
|
Loading…
Reference in a new issue