remove unicode invisable space char

This commit is contained in:
Ludovic Cartier 2022-11-14 10:58:21 +01:00
parent 22c2c39818
commit c37538a333
6 changed files with 12 additions and 12 deletions

View File

@ -14,14 +14,14 @@
register: stat_result
tags: [ 'prometheus_{{ exporter }}' ]
- name: '{{ exporter }} exporter | stop old version'
- name: '{{ exporter }} exporter | stop old version'
systemd:
name: prometheus-{{ exporter }}-exporter.service
state: stopped
when: exporter_upgrade == "yes"
tags: [ 'prometheus_{{ exporter }}' ]
- name: '{{ exporter }} exporter | remove old version'
- name: '{{ exporter }} exporter | remove old version'
file:
path: /usr/local/bin/prometheus-{{ exporter }}-exporter
state: absent
@ -79,7 +79,7 @@
- name: '{{ exporter }} exporter | systemd | copy unit file'
template:
src: systemd/prometheus-{{ exporter }}-exporter.service.j2
src: systemd/prometheus-{{ exporter }}-exporter.service.j2
dest: /etc/systemd/system/prometheus-{{ exporter }}-exporter.service
owner: root
group: root

View File

@ -11,7 +11,7 @@
group: root
mode: 0755
notify:
- 'prometheus | mongodb exporter | restart service'
- 'prometheus | mongodb exporter | restart service'
when:
- prometheus_mongodb_exporter_latest_version.stdout < '0.2'
@ -23,4 +23,4 @@
group: root
mode: 0600
notify:
- 'prometheus | mongodb exporter | restart service'
- 'prometheus | mongodb exporter | restart service'

View File

@ -13,4 +13,4 @@
- prometheus_mysqld_exporter_user is defined
register: prometheus_mysqld_exporter_configuration
notify:
- 'prometheus | mysqld exporter | restart service'
- 'prometheus | mysqld exporter | restart service'

View File

@ -10,4 +10,4 @@
group: root
mode: 0600
notify:
- 'prometheus | phpfpm exporter | restart service'
- 'prometheus | phpfpm exporter | restart service'

View File

@ -11,4 +11,4 @@
mode: 0600
register: prometheus_postgres_exporter_configuration
notify:
- 'prometheus | postgres exporter | restart service'
- 'prometheus | postgres exporter | restart service'

View File

@ -1,5 +1,5 @@
---
- name: 'prometheus | server | assert | check mandatory vars are defined'
- name: 'prometheus | server | assert | check mandatory vars are defined'
assert:
that:
- "prometheus_server_monitor is defined"
@ -12,7 +12,7 @@
tags:
- prometheus
- name: 'prometheus | server | create docker volume data'
- name: 'prometheus | server | create docker volume data'
docker_volume:
name: prometheus_data
register: register_docker_volume_prometheus__prometheus_data
@ -37,7 +37,7 @@
tags:
- prometheus
notify:
- 'prometheus | server | restart container'
- 'prometheus | server | restart container'
- name: 'prometheus | server | deploy container'
docker_container:
@ -67,4 +67,4 @@
tags:
- prometheus
notify:
- 'prometheus | server | restart container'
- 'prometheus | server | restart container'