mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-21 19:33:04 +00:00
Update roles/influxdb_exporter/tasks/preflight.yml
Co-authored-by: gardar <gardar@users.noreply.github.com> Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com> Signed-off-by: dobbi84 <davide.obbi@e4company.com>
This commit is contained in:
parent
776211cfcb
commit
894efb44a1
1 changed files with 0 additions and 10 deletions
|
@ -31,16 +31,6 @@
|
|||
- preflight
|
||||
- influxdb_exporter_preflight
|
||||
|
||||
- name: Check if influxdb_exporter is installed
|
||||
ansible.builtin.stat:
|
||||
path: "{{ influxdb_exporter_binary_install_dir }}/influxdb_exporter"
|
||||
register: __influxdb_exporter_is_installed
|
||||
check_mode: false
|
||||
tags:
|
||||
- influxdb_exporter
|
||||
- install
|
||||
- influxdb_exporter_install
|
||||
|
||||
- name: Discover latest version
|
||||
ansible.builtin.set_fact:
|
||||
influxdb_exporter_version: "{{ (lookup('url', 'https://api.github.com/repos/{{ _influxdb_exporter_repo }}/releases/latest', headers=_influxdb_exporter_github_api_headers,
|
||||
|
|
Loading…
Reference in a new issue