same correction

This commit is contained in:
Ludovic Cartier
2022-11-14 11:05:19 +01:00
parent c37538a333
commit 29c3014506
5 changed files with 23 additions and 23 deletions

View File

@ -35,7 +35,7 @@
when: not stat_result.stat.exists or exporter_upgrade == "yes"
tags: [ 'prometheus_{{ exporter }}' ]
- name: '{{ exporter }} exporter | get latest release from GitHub'
- name: '{{ exporter }} exporter | get latest release from GitHub'
shell: curl --silent "https://api.github.com/repos/{{ prometheus_repo }}/{{ exporter }}_exporter/releases/latest" | jq -r .tag_name | sed "s/v//"
args:
warn: false

View File

@ -39,7 +39,7 @@
notify:
- 'prometheus | server | restart container'
- name: 'prometheus | server | deploy container'
- name: 'prometheus | server | deploy container'
docker_container:
name: prometheus
hostname: '{{ inventory_hostname }}'