remove unicode invisable space char
This commit is contained in:
parent
22c2c39818
commit
c37538a333
@ -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
|
||||
|
@ -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'
|
||||
|
@ -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'
|
||||
|
@ -10,4 +10,4 @@
|
||||
group: root
|
||||
mode: 0600
|
||||
notify:
|
||||
- 'prometheus | phpfpm exporter | restart service'
|
||||
- 'prometheus | phpfpm exporter | restart service'
|
||||
|
@ -11,4 +11,4 @@
|
||||
mode: 0600
|
||||
register: prometheus_postgres_exporter_configuration
|
||||
notify:
|
||||
- 'prometheus | postgres exporter | restart service'
|
||||
- 'prometheus | postgres exporter | restart service'
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user