mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 03:43:09 +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
|
- preflight
|
||||||
- influxdb_exporter_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
|
- name: Discover latest version
|
||||||
ansible.builtin.set_fact:
|
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,
|
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