mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-24 04:43:05 +00:00
fix: lint
Signed-off-by: gardar <gardar@users.noreply.github.com>
This commit is contained in:
parent
3c92350df8
commit
8e9ad10953
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@
|
|||
|
||||
- name: Discover latest version
|
||||
ansible.builtin.set_fact:
|
||||
nvidia_gpu_exporter_version: "{{ (lookup('url', 'https://api.github.com/repos/{{ _nvidia_gpu_exporter_repo }}/releases/latest', headers=_nvidia_gpu_exporter_github_api_headers,
|
||||
split_lines=False) | from_json).get('tag_name') | replace('v', '') }}"
|
||||
nvidia_gpu_exporter_version: "{{ (lookup('url', 'https://api.github.com/repos/{{ _nvidia_gpu_exporter_repo }}/releases/latest',
|
||||
headers=_nvidia_gpu_exporter_github_api_headers, split_lines=False) | from_json).get('tag_name') | replace('v', '') }}"
|
||||
run_once: true
|
||||
until: nvidia_gpu_exporter_version is version('0.0.0', '>=')
|
||||
retries: 10
|
||||
|
|
Loading…
Reference in a new issue