From c37538a333fc6372f4f0bb32f042cd51cc87874e Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Mon, 14 Nov 2022 10:58:21 +0100 Subject: [PATCH] remove unicode invisable space char --- tasks/exporter/_common.yml | 6 +++--- tasks/exporter/mongodb.yml | 4 ++-- tasks/exporter/mysqld.yml | 2 +- tasks/exporter/phpfpm.yml | 2 +- tasks/exporter/postgresql.yml | 2 +- tasks/server/prometheus.yml | 8 ++++---- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tasks/exporter/_common.yml b/tasks/exporter/_common.yml index d41a73d..d372eed 100644 --- a/tasks/exporter/_common.yml +++ b/tasks/exporter/_common.yml @@ -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 diff --git a/tasks/exporter/mongodb.yml b/tasks/exporter/mongodb.yml index 889aa78..ebadc66 100644 --- a/tasks/exporter/mongodb.yml +++ b/tasks/exporter/mongodb.yml @@ -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' diff --git a/tasks/exporter/mysqld.yml b/tasks/exporter/mysqld.yml index b3decc6..dcb42e7 100644 --- a/tasks/exporter/mysqld.yml +++ b/tasks/exporter/mysqld.yml @@ -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' diff --git a/tasks/exporter/phpfpm.yml b/tasks/exporter/phpfpm.yml index 8fddb78..5b58e5a 100644 --- a/tasks/exporter/phpfpm.yml +++ b/tasks/exporter/phpfpm.yml @@ -10,4 +10,4 @@ group: root mode: 0600 notify: - - 'prometheus | phpfpm exporter | restart service' + - 'prometheus | phpfpm exporter | restart service' diff --git a/tasks/exporter/postgresql.yml b/tasks/exporter/postgresql.yml index 55b179b..f6de9c2 100644 --- a/tasks/exporter/postgresql.yml +++ b/tasks/exporter/postgresql.yml @@ -11,4 +11,4 @@ mode: 0600 register: prometheus_postgres_exporter_configuration notify: - - 'prometheus | postgres exporter | restart service' + - 'prometheus | postgres exporter | restart service' diff --git a/tasks/server/prometheus.yml b/tasks/server/prometheus.yml index cea0106..9ba9b85 100644 --- a/tasks/server/prometheus.yml +++ b/tasks/server/prometheus.yml @@ -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'